Re: Getting cgi to work...
Quote:
Originally Posted by KnightMare
Quote:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/ "
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?
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>