You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ged Haywood <ge...@www2.jubileegroup.co.uk> on 2002/03/23 09:49:19 UTC
Re: Apache and Perl with Virtual Host [OT]
Hi again,
Oh, rats, I'm sorry, I shouldn't have sent that. I'm not sure that
it's your 'Options' settings at all. Have you got the right execute
permisions on the directories/files that you're trying to get Apache
to search and/or execute? Have you got anything in the error_log?
By way of further apology, if you'd care to reply to me privately
we'll get it running for you off-list as it's not a mod_perl issue.
73,
Ged.
----------------------------------------------------------------------
On Sat, 23 Mar 2002, Ged Haywood wrote:
> 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.
>
>