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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

default document in a virtual directory

Status
Not open for further replies.

kafkapower

Programmer
Nov 28, 2001
7
PT
Hi!
Thanx for reading my message !

In the IIS, when you have a virtual directory, there's a property which defines the document to show when you write a URL in the address bar like " By default, this document is "default.htm" or "default.asp" in IIS. Can I configure this in Apache ?

Thanx again
 
Hi,

I guess you need the DirectoryIndex directive (That defines what document(s) will be served by default for a non-specific url. You can have it globally set or make it different for each directory, virtual host, etc. For example :

DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.cgi

Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top