Force Apache to send the correct encoding

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

 



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.

[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