> ALL OTHER URLS (/) must go to the mode_perl handler
are you 100% sure about that. it's probably really not what you want, but
only you know your application.
but ok, you can do that by setting up
your mod_perl stuff
HTH
--Geoff
--
Report problems: http://perl.apache.org/bugs/
Ma
Hello Artem Koutchine,
Wednesday, March 3, 2004, 5:46:12 PM, you wrote:
AK> PerlWarn Off
AK> PerlModule Apache::DBI
AK> # tried on and off here
AK> # PerlSendHeader off
AK>
^^^
AK> SetHandler perl-script
AK> PerlHandler Camelia::Exec::Retail
> 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
>
>
> SetHandler perl-script
> PerlHandler Camelia::Exec::Retail
> PerlSetEnv PERL5LIB "/hosts/cor
>> 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.de
Artem Koutchine wrote:
I have tried everything i knew and still cannot
set any content-type different from text/html
here is the code:
package Exec;
use Apache::Constants qw(OK);
use strict;
sub handler {
# Get the Apache request object...
my $r = shift;
# tried this
#$r->content_t
I have tried everything i knew and still cannot
set any content-type different from text/html
here is the code:
package Exec;
use Apache::Constants qw(OK);
use strict;
sub handler {
# Get the Apache request object...
my $r = shift;
# tried this
#$r->content_type('text/plain');