I was trying out the cgi-bin on version SuSE 7.0 and i can't seem to get it to work. This is the default install. If i go http://localhost/cgi-bin/test.pl it will run. If i go http://localhost/cgi-bin/test.cgi it comes back as not found. If i go http://localhost/test.cgi it comes back as permisson denied. Why can't i get this cgi-bin to work with cgi scripts? I take it that there is something that needs to be changed in the httpd.conf file. This is from the httpd.conf file ScriptAlias /cgi-bin/ "/usr/local/httpd/cgi-bin/" <Directory "/usr/local/httpd/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> *--------------------------------* | Chris Large clarge@macn.bc.ca | | http://gone for now | *--------------------------------*
I found the problem they had typo in there. they had test-cgi instead of test.cgi.
I was trying out the cgi-bin on version SuSE 7.0 and i can't seem to get it to work. This is the default install.
If i go http://localhost/cgi-bin/test.pl it will run. If i go http://localhost/cgi-bin/test.cgi it comes back as not found. If i go http://localhost/test.cgi it comes back as permisson denied.
Why can't i get this cgi-bin to work with cgi scripts? I take it that there is something that needs to be changed in the httpd.conf file.
This is from the httpd.conf file
ScriptAlias /cgi-bin/ "/usr/local/httpd/cgi-bin/"
<Directory "/usr/local/httpd/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory>
*--------------------------------* | Chris Large clarge@macn.bc.ca | | http://gone for now | *--------------------------------*
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
*--------------------------------* | Chris Large clarge@macn.bc.ca | | http://gone for now | *--------------------------------*
participants (1)
-
Chris Large