httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo de Moraes Serpa" <>
Subject [users@httpd] Force Apache to send the correct encoding
Date Thu, 24 Apr 2008 21:00:14 GMT

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

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,


View raw message