[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apache - CGI



How do I enable CGI execution in directories other than ScriptAlias?

I have Debian Slink, apache 1.3.9, and kernel 2.2.3.

In ScriptAlias directory it works just fine!

In srm.conf I do this:

AddHandler cgi-script .cgi

In access.conf I add this:

Let's I want to enable it in all users home directories:

<Directoriy /home/*/public_html>

AllowOverride None

Options ExecCGI FollowSymLinks

</Directory>

So after calling a cgi script from apache I get this error in error.log:

[Thu Aug 17 21:59:56 2000] [error] [client 90.0.0.1] Options ExecCGI is off in this directory: /home/gmocnik/public_html/test.cgi

in access.log this:

lisa - - [17/Aug/2000:21:59:56 +0200] "GET /~gmocnik/test.cgi HTTP/1.0" 403 215

and nothing in suexec.log.

So what would be the problem here???

It doesn't help, if there is /home/gmocnik/public_html instead /home/*/public_html.

I will appreciate any help.


Reply to: