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. Link to comment https://forums.phpfreaks.com/topic/65096-publishing-help/ 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? Link to comment https://forums.phpfreaks.com/topic/65096-publishing-help/#findComment-324868 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. Link to comment https://forums.phpfreaks.com/topic/65096-publishing-help/#findComment-324893 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. Link to comment https://forums.phpfreaks.com/topic/65096-publishing-help/#findComment-324896 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. Link to comment https://forums.phpfreaks.com/topic/65096-publishing-help/#findComment-324898 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. Link to comment https://forums.phpfreaks.com/topic/65096-publishing-help/#findComment-324900 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 Link to comment https://forums.phpfreaks.com/topic/65096-publishing-help/#findComment-324908 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. Link to comment https://forums.phpfreaks.com/topic/65096-publishing-help/#findComment-324933 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.