[plug] Apache Problems

Matt Kemner zombie at networx.net.au
Mon Feb 28 14:34:11 WST 2000


On Mon, 28 Feb 2000, Christian wrote:

> (it appears that .htaccess files are ignored in the cgi-bin directory)

You can change that with the appropriate "AllowOverride" for your cgi-bin
directory (in access.conf)

> Unfortunately I can't seem to get Apache to execute CGI scripts in a
> directory other than the ScriptAlias.  If I configure:
> 
> <Directory  /home/staff/again/public_html/>
> AddHandler cgi-script cgi

As Tony pointed out, it needs to be .cgi (at least all the examples I've
seen have been .cgi)

> Options +ExecCGI

You don't want a + in front of ExecCGI either.

> b) Why Apache is not doing what I want?

You might want to check httpd.conf and check you are loading the required
modules for what you want to do.

eg.

LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so # for user auth
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so   # for CGI scripts

 - Matt




More information about the plug mailing list