Hi there,

On Fri, 22 Mar 2002, Matt Phelps wrote:

[snip,snip]
> Okay, this is still giving me problems. Here is my config. I've
> tried several things and still nothing. For some reason I can't get
> cgi scripts to run under any virtual webs, but the default web.

What's a 'web'?  I think you mean 'host'.  (It helps if we all speak
the same language, especially if we are using a search engine... :)

> I do have mod_perl installed.

Oh, all right then... :)

> I'm sure it's got to be something so simple.

I think it's called 'reading the documentation'... :)

> <VirtualHost 192.168.1.106>
> DocumentRoot /var/www/html
> ServerName www2.zeetec.net
> Options +ExecCGI
> Alias /host/ /webhome/host/
> Alias /cgi-bin/ /var/www/cgi-bin/
> ScriptAlias /cgi-bin/ /var/www/cgi-bin
> <Location "/perl">
>     SetHandler perl-script
>     PerlHandler Apache::Registry
>     PerlSendHeader On   
>     Options +ExecCGI
> </Location>
> <Directory "/var/www/cgi-bin">
>         AllowOverride None
>         Options None       <------- This removes 'ExecCGI' from your Options
>         Order allow,deny
>         Allow from all
> </Directory>
> </VirtualHost>

Check the Apache docs about the behaviour of the 'Options' directive.

73,
Ged.

Reply via email to