
September 27th, 2004, 09:25 AM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
index.html and index.php in the root directory
I am working on a content managemet system based on php. I would like to upload and test this system without affecting the pre-existing static site until it is ready to launch.
By putting the two; index.html and index.php in the root directory, the index.php executes first and when I address the site it shows the unfinished php site.
Is there any way to force the apache server to use index.html as the default page? I want it to execute index.php in the same directory only if there is no index.html?
There has been many many hours of reading apache documentation and searching the newbie sites but I have had no luck. I appreciate your help
Jalal
|