[thelist] Apache default file for folder

jon steele jjsteele22 at yahoo.com
Thu Aug 9 11:56:24 CDT 2001


Hi,

I have a local apache server set up, and I was wondering how I could
set a page to be the default for a folder. For example, if I have a
folder named foo, and I go to localhost/foo/, I want index.php to be
diplayed automatically. Right now it shows a directoty listing of the
folder.

I know it's something to do with .htaccess, but I don't know exactly
how to do it.

Oh yeah, I'd need to change this for different folders, so a global
solution souldn't work.

Thanks for any insight/help.

Jon.

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/




More information about the thelist mailing list