hmm.. I can't seem to figure this out.. cgi's are not working at all now..
hmmm
We have like 20+ vhost and I was thinking mod_perl would help us out alot..
We get around 200k+ hits a day and server load is unreal..   well thanks for
your help anyway..

Ken


> >Hello,
> >
> >      Can someone tell me how to setup mod_perl per vhost??  I would like
> >to replace each vhost cgi-bin with mod_perl.. Is this possible?
>
> mod_perl is enabled throughout the Apache server.  From my experience, you
> cannot load mod_perl for specific hosts within httpd.conf; it is
> server-wide, added via LoadModule and AddModule (for a DSO).
>
> Within each vhost, you can do the following:
>
> <IfModule mod_perl.c>
>
> ...
>
> <Location /cgi-perl/>
>   SetHandler perl-script
>   PerlHandler Apache::Registry
>   PerlSendHeader On
>   Options +ExecCGI
> </Location>
>
> ...
>
> </IfModule>
>
> ..Tom
>
> (copy to user's email addr)
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>

Reply via email to