cgi's in the root.

Don Harrop don@nis4u.com
Wed, 14 Jun 2000 15:24:52 -0700


The following are the main settings that I have for a domain that I'm
hosting.  I want to be able to run .cgi's from the root web page.  As far as
I can find out these are the options that I need to make that happen so I
must not know something becaues it still doesn't run cgi's from the root
directory.  I can run the cgi's in my ScripAlias just fine though.  That
wouldn't bother me but there are links all over the place already pointing
to a cgi file in the root directory.  Idea's anyone?

Don


AddHandler cgi-script .cgi

<Directory /home/httpd/localdirectory>
AllowOverride None
Options ExecCGI
</Directory>

<VirtualHost 205.216.140.31>
        ServerAdmin administrator@host.com
        ServerName customer.com
        DocumentRoot /home/httpd/localdirectory
        ScriptAlias /cgi-bin/ /home/httpd/localdirectory/cgi-bin/
</VirtualHost>