ikscovski Posted August 15, 2007 Share Posted August 15, 2007 Hello, I have published a site and when I enter the url, the phpinfo page comes up and not my home page. why is this happening? Can someone please help me with this? I am using: windows server 2003, iis, and of course php. Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted August 15, 2007 Share Posted August 15, 2007 check you index.php file on the server... What does it contain? Quote Link to comment Share on other sites More sharing options...
ikscovski Posted August 15, 2007 Author Share Posted August 15, 2007 I have searched for index.php and did not find it. however there is an info.php file and when i remove this from the server i still get the the same problem. Quote Link to comment Share on other sites More sharing options...
Orio Posted August 15, 2007 Share Posted August 15, 2007 So add a index page (.php / .htm / .whatever) Orio. Quote Link to comment Share on other sites More sharing options...
ikscovski Posted August 15, 2007 Author Share Posted August 15, 2007 I do have an index file which is my home page but im still getting the phpinfo page which i don't want. Quote Link to comment Share on other sites More sharing options...
aim25 Posted August 15, 2007 Share Posted August 15, 2007 Go into the httpd in apache/conf, then look for <IfModule dir_module> DirectoryIndex index.php index.php4 index.php3 index.cgi index.pl index.html index.htm index.shtml index.phtml </IfModule> then make sure that the first thing writen after DirectoryIndex is index.php, or what ever file you want the server to display when someone access' your site. Quote Link to comment Share on other sites More sharing options...
ikscovski Posted August 15, 2007 Author Share Posted August 15, 2007 Thanks for the info but its not apache that im using...it is IIS Quote Link to comment Share on other sites More sharing options...
ikscovski Posted August 15, 2007 Author Share Posted August 15, 2007 Problem solved..it was the cache inthe firewall needed clearing. thanks once again. 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.