perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: Cannot set content-type different from text/html
Date Wed, 03 Mar 2004 18:10:24 GMT

>>     AddDefaultCharset windows-1251
> 
>       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Could this be the reason? Doesn't it apply only for text/html content
> types?

it will add a charset for text/html or text/plain. unrecognized types fall
through unaltered.

> 
>> GET / HTTP/1.1
>> Host: cornertd.dev.itlegion.ru

I think the problem is here - you don't have any mod_perl handlers set up
for / - mod_include is probably handling this request.

    AddHandler server-parsed .html

    <Location "/Go">
        SetHandler perl-script
        PerlHandler Camelia::Exec::Retail
        PerlSetEnv PERL5LIB "/hosts/cornertd.ru/cgi-bin/lib"
        # tried on and off
        PerlSendHeader off
    </Location>

--Geoff


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message