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

Re: Apache Configuration



On Thu, Jan 09, 2003 at 10:11:11PM -0500, Tom Allison wrote:
> Tom Allison wrote:
> >OK, I ran into another problem with configuration MASON for
> >Apache
> >
> >I added:
> >
> >PerlModule HTML::Mason::ApacheHandler
> >
> ><Location />
> >  SetHandler perl-script
> >  PerlHandler HTML::Mason::ApacheHandler
> ></Location>
> >
> >Right before the start of Section 3:
> >
> >I thought is was OK, but now the configtest dies with:
> >
> >
> >bash-2.05b$ sudo apachectl configtest
> >Syntax error on line 986 of /etc/apache/httpd.conf:
> >Invalid command 'PerlModule', perhaps mis-spelled or defined by a module 
> >not included in the server configuration
> >bash-2.05b$
> >
> >
> >Unfortunately I didn't see anything discussing this in the readme's.
> >I do have mod_perl installed.
> >
> >I am also having trouble with:
> >
> >mod_mime_magic
> >and errors about server-status not being present.
> >
> >I have no clue about the mod_mime_magic and there doesn't seem to be 
> >anything in Debian to assist me with this one.
> >
> >I'll figure out the server status problem later.
> >
> >But what about the PerlModule error, what's up with that one?
> >
> >Do I have to add something more to the configuration file for this to work?
> >
> 
> A little birdie tells me that this is because I have to install mod_perl.
> the debian package is there....
> and the mod_perl DSO is uncommented...

Is mod_perl loaded by the time it reads the PerlHandler line?

-rob

Attachment: pgplSW8D9mBLC.pgp
Description: PGP signature


Reply to: