Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: index.php not the main index. |
|
Author |
|
Cptn-phantom
Joined: 19 Aug 2011 Posts: 1 Location: UK
|
Posted: Fri 19 Aug '11 3:06 Post subject: index.php not the main index. |
|
|
Hi guys, My problem is that when i go to localhost it says Index of /
: Index.php
rather than displaying the PHP file. In short it loads a directory view instead of the actual index.php file. It works fine when i put a index.html file in there or go to localhost/index.php. The index.php file is the only file in there at the moment, no directory's either. I have restarted Apache several times and have reinstalled Apache and php 2 times. I dont know what to do, Please help me.
PS : i have included my httpd.conf and my index.php file.
PHP File :
Code: | <?php
echo "Nothing to see here";
?> |
HTTPD.CONF File :
Admin note:
File removed, see forum rules: Do not paste whole configuration files...... |
|
Back to top |
|
glsmith Moderator
Joined: 16 Oct 2007 Posts: 2268 Location: Sun Diego, USA
|
|
Back to top |
|
|
|
|
|
|