httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] cgi-bin subdirectories
Date Tue, 15 May 2012 04:11:22 GMT
Include

        Options +ExecCGI
        SetHandler cgi-script

in your Directory stanza.

Igor

On Tue, May 15, 2012 at 9:03 AM, T├ęssio Fechine <precheca123@yahoo.com.br>wrote:

> Hello,
> I am having a problem with subdirectories in cgi-bin.
> Scripts like 'cgi-bin/user.pl' executes fine, but if I move it to
> 'cgi-bin/something/user.pl' it stops working.
>
> I'm using the default centos-5.8 httpd.conf file:
>
> ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
>
> <Directory "/var/www/cgi-bin">
>    AllowOverride None
>    Options None
>    Order allow,deny
>    Allow from all
> </Directory>
>
> And the error message I receive is this:
>
> [error] [client 192.168.56.1] script not found or unable to stat:
> /var/www/cgi-bin/something
>
> What is wrong?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message