Results 1 to 2 of 2
Have a problem getting cgi script to work...
Here is error:
The requested URL /cgi-bin/yabb/YaBB.cgi was not found on this server.
Shouldn't that be looking at /www.myaddress.net/cgi-bin/yabb/YaBB.cgi ??
I edited ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-24-2003 #1Linux User
- Join Date
- Nov 2002
- Posts
- 420
Getting cgi to work...
Have a problem getting cgi script to work...
Here is error:
Shouldn't that be looking at /www.myaddress.net/cgi-bin/yabb/YaBB.cgi ??The requested URL /cgi-bin/yabb/YaBB.cgi was not found on this server.
I edited httpd.conf to allow cgi scripts and set the directories correctly, also chmodded what needed to be done...
Regular web page works ok...DocumentRoot "/var/www"
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/ "<Directory "/var/www/cgi-bin/">AddHandler cgi-script .cgi-rwxrwxrwx 1 knightmare users 13344 Dec 6 12:03 Settings.plSee anything wrong?? Who want's to telnet in and fix this one-rwxrwxrwx 1 knightmare users 2969 Dec 6 11:54 YaBB.cgi
- 12-25-2003 #2
Re: Getting cgi to work...
I'm not sure, it probably shouldn't matter, but, do you see the space between the '/' and the '"'? What happens if you remove it?
Originally Posted by KnightMare
btw,. here two exerpts from mine httpd.conf (if that can be of any help):
Code:# ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"Code:<Directory "/var/www/cgi-bin"> Options ExecCGI AllowOverride None Allow from from all Order allow,deny </Directory>


Reply With Quote
