Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

index.cgi 1

Status
Not open for further replies.

benp07

Technical User
Aug 31, 2001
87
US
i want to set index.cgi so that i do have to type it out like a index.html file were you can just type and it will come up what to i have to add to the httpd.conf to make index.cgi like a index.html


thanks alot
Ben
 
Hi mate,

Look for the DirectoryIndex line, then add index.cgi to that.

The files are called from left to right until one is found, so if you want index.cgi to appear even if there is an index.html then you need something like the following:

DirectoryIndex index.cgi index.html

Hope this helps Wullie

- Send your letter to santa!!

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top