oceans Posted June 28, 2007 Share Posted June 28, 2007 Dear People, Can any one help me in redirect. I have an Index.php, in it i have a redirect instruction pointing else where. I am trying a new server, in it they have Index.html, I removed it and placed my Index.php, but the server is not "seeing" my Index.php. How can I make the server "see" this Index.php despite of the original Index.html. Thanks.. Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted June 28, 2007 Share Posted June 28, 2007 i am assuming that index.php is in the public_html/ directory or www/ (they are the same). so if the index.html page is gone, what does it show when you go to www.yoursite.com the index of / page? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted June 28, 2007 Share Posted June 28, 2007 this is a servr configuration - the server is instructed to find the default file in a directory normally index.htm or index.html. if you have .htaccess ability to alter this setting then simply place the following line in your .htaccess file DirectoryIndex index.php index.html index.htm if you don't then you need to ask your server people to add index.php to the list. If they are running apache then ask them change the 'DirectoryIndex' setting to: DirectoryIndex index.php index.html index.htm Quote Link to comment Share on other sites More sharing options...
soycharliente Posted June 28, 2007 Share Posted June 28, 2007 @toon: Is it case sensitive? If so, he did say Index.php (notice the capital letter i). Maybe change the letter case. Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted June 29, 2007 Share Posted June 29, 2007 possibly... I was completely oblivious to that - but the I have got to the point where uppercase letters in files is unfamiliar to that I probably just read past it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.