LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-04-2004, 03:58 AM   #1
nordickiwi
Member
 
Registered: Oct 2004
Location: Stockholm Sweden
Distribution: Fedora 1-8,Familiar v0,7.2, Redhat 9.0, Knoppix, CentOS, Windows 2003,2000,XP,98,95, Exc
Posts: 39

Rep: Reputation: 15
Unhappy Apache 2.0 httpd.conf - AddDefaultCharset


httpd-2.0.48-1.2

I have a problem with the AddDefaultCharset setting in httpd.conf. I have many .txt files that I have indexed.

Some of these files are in UTF-8 Unicode text format and some are ISO-8859-1 text.

I have written most of these files in Swedish, and now these files won't show the swedish characters correctly, it all seems to depend on the AddDefaultCharset setting. I know ISO-8850-1 is default with AddDefaultCharset on, but depending on which setting I choose when setting
ISO-8859 or UTF-8 here the different file show up correctly. But I can't get both types of files to show themselves correctly at the same time....this is the problem.

-Things I've tried that havn't worked,
/double AddDefaultCharset line with both settings. (UTF-8 dominates)
/AddDefaultCharset off (I no its a security risk)
/ISO-8859-14
/AddDefaultCharset ISO-8859-1 UTF-8 (apache fails to start with this setting because only one file type is alowed per row.)

I could change all file to the same file type...but I'd need help creating a script to do this if it's att all possible. But when I've had this site at a ISP I didn't have this problem, and I think that they used Apache......

Any help with this issue would be much appreciated.

Last edited by nordickiwi; 10-04-2004 at 04:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: http://localhost (work) http://ipaddress (not working) sarmad Linux - Newbie 7 02-05-2013 07:47 AM
http.conf or router conf ? regnier Mandriva 1 02-25-2005 08:41 AM
HTTP.CONF questions alejandroye Linux - Software 3 11-04-2004 01:36 PM
Request for http.conf file for Apache 1.3.26 Thinkgeekness Linux - Software 2 04-19-2003 12:58 AM
.htaccess and http.conf Ratclaws Linux - General 1 11-21-2001 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration