A Al Neri Diamond Member Jan 12, 2002 5,680 1 81 Feb 11, 2008 #1 I want to have the site load year.php when someone goes to www.mydomain.com/ how can I do that? Thanks, DonnyR.
I want to have the site load year.php when someone goes to www.mydomain.com/ how can I do that? Thanks, DonnyR.
T troytime Golden Member Jan 3, 2006 1,996 1 0 Feb 11, 2008 #2 open up (or create) .htaccess in your webroot find the "DirectoryIndex" line (or add it) it should look like: DirectoryIndex year.php
open up (or create) .htaccess in your webroot find the "DirectoryIndex" line (or add it) it should look like: DirectoryIndex year.php
T troytime Golden Member Jan 3, 2006 1,996 1 0 Feb 11, 2008 #4 does every subdirectory have a different default file? or do they each have a copy of year.php?
L LuckyTaxi Diamond Member Dec 24, 2000 6,044 23 81 Feb 12, 2008 #6 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
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