Dumb question - but

troytime

Golden Member
Jan 3, 2006
1,996
1
0
open up (or create) .htaccess in your webroot

find the "DirectoryIndex" line (or add it)


it should look like:
DirectoryIndex year.php
 

troytime

Golden Member
Jan 3, 2006
1,996
1
0
does every subdirectory have a different default file?

or do they each have a copy of year.php?
 

LuckyTaxi

Diamond Member
Dec 24, 2000
6,044
23
81
in apache, open up your conf and input the following line

directoryindex year.php index.html index.htm index.php

this way it does the same for subdirectories