Click to See Complete Forum and Search --> : can't run index.cgi from my localhost, always getting the test page
ygolan
02-20-2005, 05:07 AM
Hi,
can't run index.cgi from my localhost, always getting the test page.
i have attched my httpd.conf file.
please help.
thanking you in advance.
yariv.
Syngin
02-20-2005, 10:53 AM
Use DirectoryIndex to define the load order of index files. SOunds like index.html is before index.cgi in you httpd.conf
<IfModule mod_dir.c>
DirectoryIndex index.html index.php3 index.htm index.shtml index.cgi index.php
</IfModule>
Also, here is the offending line in your file:
DirectoryIndex index.html index.html.var index.cgi
bwkaz
02-20-2005, 03:27 PM
Or just rename index.html and index.html.var, that would work too.