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

How to put a virtual index file in every directory??

Status
Not open for further replies.

CCN

Instructor
Apr 16, 2002
1
US
I have a file in php to view directory indexes. How can I set my APACHE Server to open my php file insted of de default APACHE screen to see the files into a directory.
 
you should configure the DirectoryIndex.

let's say your file is index.php:

DirectoryIndex index.php
if you won't to disable directory indexing remove the option Indexes from the Options variable. (-:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top