Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14th October 2009, 12:55 AM
Eggbertx's Avatar
Eggbertx Offline
Registered User
 
Join Date: Jul 2009
Location: Washington
Age: 21
Posts: 29
linuxfedorafirefox
Problem with Apache and character encoding (?)

I am having a problem with my web server. On index.html, it should say "Welcome to my website! More coming soon!" but instead, in Firefox, if I go through my server by going to eggbertx.linium.net or localhost, it shows this:

��<�h�t�m�l�>� �<�h�e�a�d�>� � �<�t�i�t�l�e�>�E�g�g�b�e�r�t�'�s� �w�e�b� �s�i�t�e�<�/�t�i�t�l�e�>� �<�/�h�e�a�d�>� � �<�b�o�d�y�>� �W�e�l�c�o�m�e� �t�o� �m�y� �w�e�b�s�i�t�e�!� �M�o�r�e� �c�o�m�i�n�g� �s�o�o�n� �<�i�m�g� �s�r�c�=�"�m�s�f�r�e�e�.�p�n�g�"�>� �<�/�b�o�d�y�>� �<�/�h�t�m�l�>� ��� �

I know it isn't the file, because the file looks normal if I open it by going to /var/www/html/index.html

I looked at /etc/httpd/conf/httpd.conf and it says that it is using UTF-8, which I'm pretty sure is normal.

I don't remember it doing this before I installed kdewebdev and ran Quanta Plus, although I have no idea how it could have caused this. Has this happened to anyone else?
Reply With Quote
  #2  
Old 14th October 2009, 07:59 AM
pete_1967 Offline
Clueless in a Cuckooland
 
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 3,950
linuxfedorafirefox
What encoding you used when creating the page and what's encoding and character set set in the meta on the page?
__________________
A Drink is Not Just For Christmas - SaskyCom :thumb:


“Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime” so now go and...
RTFM FIRST: http://docs.fedoraproject.org/ & http://rute.2038bug.com/index.html.gz
Reply With Quote
  #3  
Old 14th October 2009, 11:56 AM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,075
linuxfirefox
Quote:
Originally Posted by Eggbertx View Post
I
I know it isn't the file, because the file looks normal if I open it by going to /var/www/html/index.html
Open it with what? Open a terminal, dump the actual bytes in the file by "hexdump /var/www/html/index.html" and post the results.
Reply With Quote
  #4  
Old 16th October 2009, 04:22 AM
Eggbertx's Avatar
Eggbertx Offline
Registered User
 
Join Date: Jul 2009
Location: Washington
Age: 21
Posts: 29
linuxfedorafirefox
It was the file, but normal text editors weren't viewing the characters. I opened it with the nano command and deleted the characters. Problem solved.
Reply With Quote
Reply

Tags
apache, httpd, invalid characters

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
A problem about Adobe Flash Player character encoding... sandwich Using Fedora 0 4th June 2008 06:50 PM
character encoding win <--> linux Imiro Using Fedora 0 19th July 2006 09:09 PM
fc2 character encoding parre EOL (End Of Life) Versions 0 2nd June 2004 06:43 AM


Current GMT-time: 05:26 (Wednesday, 19-06-2013)

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