[wplug] apache error log and mod_perl

Brian Medley bpm-list-wplug at 4321.tv
Wed Dec 24 22:42:57 EST 2003


On Wed, Dec 24, 2003 at 12:44:44AM -0500, James O'Kane wrote:

> > <VirtualHost 192.168.0.200:81>
> 
> I suspect if you put the PerlHandler or maybe even the perl LoadModule
> within the VirtualHost block, the errors will be saved to that log,
> but you'll need to turn on perl for each virtual host.

I tried adding the following to the VirtualHost directive:

    <Files *.mcgi>
      PerlHandler ModPerl::Registry Appendix
      SetHandler perl-script
      Options +ExecCGI
      PerlOptions +ParseHeaders
    </Files>

Unfortunately, it didn't work when I restarted the server.  Perhaps one
reason is b/c it is also declared outside of VirtualHost directive (for
the "regular" host).  

Is this what you meant by "turn perl on" for the VirtualHost?

-- 
~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-., \|/  (___)  \|/ _,.-=~'`^`
                                               @~./'O o`\.~@
               "Knowledge is Power"           /__( \___/ )__\  *PPPFFBT!*
                  -- Francis Bacon               `\__`U_/'
 _,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~= <____|'  ^^`'~=-.,__,.-=
~`'^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-==--^'~=-.,__,.-=~'`^`



More information about the wplug mailing list