Include

        Options +ExecCGI
        SetHandler cgi-script

in your Directory stanza.

Igor

On Tue, May 15, 2012 at 9:03 AM, Téssio Fechine <precheca...@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-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to