Operating Systems > Linux and UNIX
simple cgi-bin Q
Master of Reality:
quote:like this (default)
--- Code: ---
--- End code ---
Just make sure you don't have "ExecCGI" in your other directory definitions and it will only execute CGI from your cgi-bin.
[ November 18, 2002: Message edited by: void main]
--- End quote ---
thats not the default in my apache. my default is:
<Directory "/var/www/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
should i change the "none" to "ExecCGI"?
[ November 19, 2002: Message edited by: The Master of Reality / B0B ]
[ November 19, 2002: Message edited by: The Master of Reality / B0B ]
voidmain:
Hmm, interesting. It appears that you only need ExecCGI if the directory in question is not a "ScriptAlias" directory. All files (regardless of thier extension) are treated as executable if they are in a ScriptAlias directory. It's interesting that my Apache 2.x server (and all of my other servers) have the ExecCGI set even though they are also are defined via ScriptAlias, I think that's a RedHat default because I don't remember setting any of them that way. Here a FAQ:
http://httpd.apache.org/docs/misc/FAQ-F.html#CGIoutsideScriptAlias
[ November 19, 2002: Message edited by: void main ]
Navigation
[0] Message Index
[*] Previous page
Go to full version