Fedora Linux Support Community & Resources Center
  #1  
Old 16th February 2011, 11:39 AM
BlackSheepBlack Offline
Registered User
 
Join Date: Feb 2011
Posts: 4
windows_xp_2003firefox
Unhappy Junk added to html files httpd vsftpd

I've just upgraded my serv from fedora8 to fedora12 and got a problem. The httpd and vsftpd add a junk in the beginning of html files. Png, tar and other files are ok. When I make a request to localhost everything is ok.

Code:
#telnet localhost 80
GET /1.html
<html>
</html>
but from any other comp

Code:
#telnet server 80
GET /1.html
 0INIE

         c@@98P)`([
        F*]<html>
</html>
But this is not an apache problem. When I dl html files from ftp I got the same problem.
Iptables is swithed off.
Reply With Quote
  #2  
Old 16th February 2011, 02:35 PM
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 26
Posts: 517
linuxfedorafirefox
Re: Junk added to html files httpd vsftpd

What will be if you create html file on server manually?
Reply With Quote
  #3  
Old 16th February 2011, 02:45 PM
BlackSheepBlack Offline
Registered User
 
Join Date: Feb 2011
Posts: 4
windows_xp_2003opera
Re: Junk added to html files httpd vsftpd

I created it manually via vi. The content is <html></html>.
Reply With Quote
  #4  
Old 16th February 2011, 02:50 PM
Keldorn Offline
Registered User
 
Join Date: Jun 2008
Location: Russia
Age: 26
Posts: 517
linuxfedorafirefox
Re: Junk added to html files httpd vsftpd

Ok. another question. What you can see when you getting this page via web browser and asking it to show you page source?
Reply With Quote
  #5  
Old 16th February 2011, 02:53 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,847
linuxfedorafirefox
Re: Junk added to html files httpd vsftpd

Try

Code:
telnet localhost 80
GET / HTML 1.0
<return>
<return>
The "get" syntax you show is not acceptable. In my case, I get an
error message (HTTP/1.1 501 Method Not Implemented).

What web server are you running? It appears to not be returning Latin 1 text (not sure what font it is using though).
Reply With Quote
  #6  
Old 16th February 2011, 03:01 PM
BlackSheepBlack Offline
Registered User
 
Join Date: Feb 2011
Posts: 4
windows_xp_2003opera
Re: Junk added to html files httpd vsftpd

Quote:
Originally Posted by Keldorn View Post
Ok. another question. What you can see when you getting this page via web browser and asking it to show you page source?
I see the junk with server headers in the top of the page (look at attachment).
In the source code:
Code:
`VXNI@�E��@�@���9�d�P�P ���HTTP/1.1 200 OK
Date: Wed, 16 Feb 2011 14:54:21 GMT
Server: Apache/2.2.13 (Fedora)
Last-Modified: Wed, 16 Feb 2011 14:52:13 GMT
ETag: "6010f-1791-49c676d21410c"
Accept-Ranges: bytes
Content-Length: 6033
Connection: close
Content-Type: text/html; charset=UTF-8
<html>
.....
The first junk string are always almost same. A few bytes are changing.
Attached Thumbnails
Click image for larger version

Name:	junk.gif
Views:	62
Size:	6.0 KB
ID:	20704  
Reply With Quote
  #7  
Old 16th February 2011, 03:08 PM
BlackSheepBlack Offline
Registered User
 
Join Date: Feb 2011
Posts: 4
windows_xp_2003opera
Re: Junk added to html files httpd vsftpd

Quote:
Originally Posted by jpollard View Post
What web server are you running? It appears to not be returning Latin 1 text (not sure what font it is using though).
It's apache2. I tried to add HTML 1.0 in GET request, but nothing changes. Saying again with localhost everything fine. Junk appears only via network requests.

---------- Post added at 06:08 PM ---------- Previous post was at 06:04 PM ----------

The same junk also added to txt and rpm files.
Reply With Quote
Reply

Tags
added, files, html, httpd, junk, vsftpd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPD and /var/www/html dsartain Servers & Networking 14 22nd February 2007 02:59 AM
httpd: cant access contents of var/www/html...fedora test page keeps coming up dashdanw Servers & Networking 2 29th October 2006 04:16 AM
vsFTPd issue with new users added reckless2k2 Servers & Networking 6 8th February 2006 08:35 AM
vsftpd problem after httpd install shane Servers & Networking 3 5th September 2005 07:50 PM


Current GMT-time: 20:02 (Saturday, 20-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin Copyright 2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat