httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon <dra...@crimson-dragon.com>
Subject Re: [users@httpd] Force Apache to send the correct encoding
Date Thu, 24 Apr 2008 21:30:23 GMT
Marcelo de Moraes Serpa wrote:
>Hello,
>
>This might be a simple question, but I'm having issues serving HTML 
>files with the ISO-8859-1 encoding. I could, in theory, change the 
>encoding of each file, but doing so for thousands of files is not so practical.
>
>I've got a VirtualHost and inside it I have an alias:
>
>     Alias /doc "/home/dtweb/static/documentation/"
>         <Directory "/home/dtweb/static/documentation/">
>            AllowOverride All
>            Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
>            Order allow,deny
>            Allow from all
>         </Directory>
>
>
>The documentation dir has all these html files. Apache seems to be 
>serving them with a UTF-8 encoding.
>
>How could I force apache to tell the browser to use ISO-8859-1?
>
>Thanks in advance,
>
>Marcelo.
---------------- End original message. ---------------------

See the AddDefaultCharset directive on the following page:

http://httpd.apache.org/docs/2.2/mod/core.html

Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message