Re: Force Apache to send the correct encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux