> > I am just confused between mod_perl and Perl. My target is to be able to
> > write enterprise web-based solutions using LAMP or Perl. TO be quite
> > honest, I prefer writing in Perl (I am still a Perl newbie).
As for what is said above i may mention that you may also
consider fast-cgi and a g
> 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
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');