How to apply Apache directives to 'dynamic' HTML?

Chris G cl at isbd.net
Wed Oct 10 16:21:17 UTC 2007


On Wed, Oct 10, 2007 at 11:03:48PM +0930, Tim wrote:
> On Wed, 2007-10-10 at 08:44 +0100, Chris G wrote:
> > By default on Fedora 7 the
> > apache httpd.conf file has:-
> >     AddDefaultCharset UTF-8
> > which sets UTF-8 for *everything* served by that apache installation 
> 
> Unless countermanded...  I's only a "default."  I certainly get
> different character sets if I do the trick where you play with
> filenames.
> 
> e.g. testpage.html.iso88591 and I've set a directive so that file
> suffixe has meaning.
> 
OK, you can override it using apache directives (I assume that's what
you mean), but it (the AddDefaultCharset) overrides anything else set
by 'client' code as it were.


> Or if I override it some other way.
> 
See also:-
    http://ungwe.org/blog/2004/01/26/22:52/
    http://lists.w3.org/Archives/Public/www-tag/2003Sep/0176.html


-- 
Chris Green




More information about the fedora-list mailing list