jaymax Posted April 23, 2010 Share Posted April 23, 2010 I am having problems processing index.php files when pointing to a directory. My test.php runs fine showing all the details of the PHP Version 5.2.12 installation. The server is an Apache/2.2.11 (FreeBSD) The serving page is from a virtual domain, which for all other purposes functions well. The httpd.config file has the following defaults checked index.html and index.html ==> # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # <IfModule mod_dir.c> DirectoryIndex index.php index.html index.htm </IfModule> <== Is there something else I am missing? Even more troubling, when I put the index.php explicitly in the URL it does not serve or display the page Thanks Title: index.php not being served Quote Link to comment https://forums.phpfreaks.com/topic/199554-indexphp-not-being-served/ Share on other sites More sharing options...
andrewgauger Posted April 24, 2010 Share Posted April 24, 2010 Even more troubling, when I put the index.php explicitly in the URL it does not serve or display the page Try creating a new file and saving it as index.php in that directory, if it says "confirm overwrite" don't overwrite, just trying to rule out the fact that the file exists. Sometimes there is a case sensitivity to some flavors of linux. I personally protect my admin page by naming it Admin.php Just to be safe back it up though. Quote Link to comment https://forums.phpfreaks.com/topic/199554-indexphp-not-being-served/#findComment-1047460 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.