You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joshua Slive <jo...@slive.ca> on 2003/11/26 22:16:11 UTC
Re: [users@httpd] I *want* to "invoke directory as script"
On Wed, 26 Nov 2003, Kevin DeGraaf wrote:
> I have a valid CGI script (returning a proper Content-Type header, mode
> 0755, all parent directories readable by the apache user, etc.) called
> "index.cgi" sitting in a subdirectory of my main cgi-bin directory.
ScriptAlias doesn't support this. If you have
ScriptAlias /cgi-bin /usr/local/apache/cgi-bin
then replace it with
Alias /cgi-bin /usr/local/apache/cgi-bin
<Directory /usr/local/apache/cgi-bin>
Options ExecCGI
SetHandler cgi-script
</Directory>
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] I *want* to "invoke directory as script"
Posted by Kevin DeGraaf <ke...@kevindegraaf.net>.
> ScriptAlias doesn't support this. [snip]
Problem solved. Many thanks.
--
Kevin DeGraaf
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org