Re: How to apply Apache directives to 'dynamic' HTML?

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

 



Chris G wrote:
No the script (or static HTML) can't do it itself, the apache
AddDefaultCharset overrides it.

I believe that you are incorrect. If the CGI declares an encoding, it will be honored:

Change the content type declaration in the CGI to:

Content-type: text/html; charset=ISO-8859-1

...Thereafter, since the content-type is neither "text/plain" nor "text/html", apache will not change it to the default.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux