Subject: Easy Question
Posted By: hexOffender Post Date: 7/5/2006 8:09:31 AM
Ok first the disclaimer, Im not a php programmer and I am only maintaining this php site, so naturally I have no Idea what Im doing.

Heres the problem:

When the site is loaded by domain name alone, it does not load the index.php page. Instead, it loads the index.html, which is only the background.
In order to get the correct page to display I have to enter
http://domain_name.com./index.php .


Reply By: Dj Kat Reply Date: 7/8/2006 9:09:30 AM
Hi,

have you tried to delete index.html from the server?

__________________________________________________________
This is my junk I'm gona eat it
Reply By: panacea Reply Date: 7/12/2006 5:03:16 AM
This isn't a PHP question, but an Apache HTTP Server question.  Modify your httpd.conf file's DirectoryIndex property so that index.php is listed before index.html.  I suspect the opposite is currently true, or index.php is not listed.  If you're on a virtual host, you can also modify .htaccess in your server's root directory to contain "DirectoryIndex index.php index.html" to also implement the behavior.

Jon Emerson
http://www.jonemerson.net/

Go to topic 46619

Return to index page 234
Return to index page 233
Return to index page 232
Return to index page 231
Return to index page 230
Return to index page 229
Return to index page 228
Return to index page 227
Return to index page 226
Return to index page 225