Hans-Werner Hilse <[EMAIL PROTECTED]> writes: Harry wrote: >> If I do not define ScriptAlias at all then cgi works under >> $public_html but cgi under $htdocs is just displayed as a file.
Hans-Werner answered: > Sorry, my fault. A ScriptAlias alone isn't likely to work, if I read > this correctly: > http://httpd.apache.org/docs/2.0/howto/cgi.html > Read starting at "CGI outside of ScriptAlias directories", it > explicitly mentions the UserDir setting. And there are docs linked for > using .htaccess files for configuring this. A carefull reading of that cgi documentaion doesn't really deal with what happens once you've set a ScriptAlias to /cgi-bin/ What I'm seeing is that once tha that happens any directory under DocumentRoot has to have explicit Options ExecCGI it is not recursive. However, it is recursive at $public_html even though ScriptAlias is set to localhost/cgi-bin/... I don't quite understand why it works like that I guess. Although I can live with having to edit httpd.conf anytime I add a directory under DocumentRoot that might need ExecCGI it just appears inconsisitent. -- gentoo-user@gentoo.org mailing list