At 04:02 AM 3/14/2002, Matt Phelps wrote:
>Forgive me if I'm posting to the wrong group. I"ve got apache 1.3.22 
>running several virtual webs. I can get perl scripts to run under the 
>default web but not in the others. All the webs point to the same script 
>folder. If I try to run the script under a virtual web, all I get is text 
>display. Any help would be great.

Well, I use mod_perl with VituralHosts...  My config looks something like:

<VirtualHost gametz.com>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/tz/html
ServerName gametz.com
DirectoryIndex /perl/gametz.pl
# The live area
Alias /perl/ /home/tz/perl/
<Location /perl>
   AllowOverride  None
   SetHandler     perl-script
   PerlHandler Apache::RegistryBB
   PerlSendHeader On
   Options        +ExecCGI
</Location>
</VirtualHost>

<VirtualHost surveycentral.org>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /projects/web/survey-central
ServerName surveycentral.org
DirectoryIndex /perl/survey.pl

Alias /perl/ /projects/web/survey-central/perl/
<Location /perl>
   SetHandler     perl-script
   PerlHandler    Apache::RegistryBB
   PerlSendHeader On
   Options        +ExecCGI
</Location>
</VirtualHost>


Reply via email to