Forum OpenACS Q&A: Response to little problem with nsd8x

Collapse
Posted by David Kuczek on
I return to my original question about the charset.

My browser still outputs ö etc. when I set the symbolic link in aolserver/bin to nsd8x...

It didn't bother me running nsd76 until today, but now I would like to use tcl8.x for some regular expressions...

I set the following in /home/aolserver/nsd.tcl:

ns_section "ns/parameters"

        ns_param  home        $homedir

        ns_param  debug        false

        ns_param  MailHost    localhost

        ns_param  ServerLog    ${homedir}/log/server.log

        ns_param  LogRoll      on

        ns_param  HackContentType 1

        ns_param  URLCharset      iso-8859-1

        ns_param  OutputCharset  iso-8859-1

        ns_param  HttpOpenCharset iso-8859-1

ns_section "ns/mimetypes"

        ns_param  default        "*/*"    ;# MIME type for unknown extension

        ns_param  noextension    "*/*"    ;# MIME type for missing extension

        #ns_param  ".xls"        "application/vnd.ms-excel''

        ns_param .html "text/html; charset=iso-8859-1"

        ns_param .tcl "text/html; charset=iso-8859-1"

        ns_param .adp "text/html; charset=iso-8859-1"

Any other suggestions?