Re: Mod Perl Vhost

2001-01-15 Thread Slash

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.





Re: Mod Perl Vhost

2001-01-15 Thread Tom Kralidis

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

Is mod_perl enabled on your server, ie does $ENV{'MOD_PERL'} exist?

How are you loading mod_perl?  As a DSO?

How is mod_perl enabled in your httpd.conf?

What version of mod_perl / Apache are you using?  On which OS?

Some more information/config chunks would help to debug your problem.

..Tom
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.