I mean
<Directory "/var/www/cgi-bin/*">
Options +ExecCGI
SetHandler cgi-script
AllowOverride None
Order allow,deny
Allow from all
</Directory>
On Tue, May 15, 2012 at 2:11 PM, Igor Cicimov <[email protected]> wrote:
> Include
>
> Options +ExecCGI
> SetHandler cgi-script
>
> in your Directory stanza.
>
> Igor
>
> On Tue, May 15, 2012 at 9:03 AM, Téssio Fechine
> <[email protected]>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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>