httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug McNutt <dougl...@macnauchtan.com>
Subject Re: [users@httpd] cgi-bin subdirectories
Date Tue, 15 May 2012 02:13:54 GMT
At 16:03 -0700 5/14/12, T├ęssio Fechine 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?


What are the permissions for subdirectory something?  Did you create it?

The world probably needs execute and read access to the directory. You might not be allowed
to make that change if, as I do, you have a web provider to worry about.

-- 
-->  0010  0100  0110  1000. Who do we appreciate? <--
   With apologies to B Fagin of the Colo Spgs Gazette.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message