brower doesn't direct to index.php
I have configured Apache, php, MySQL in my local machine.
Later I installed phpbb3 in a folder "forum"
When I point the browser to http://localhost/forum , the browser shows directory listing instead of showing http://localhost/forum/index.php
when I installed wordpress, the same issue occuring... can any one got any explanation for it.
Can anyone help me to resolve it??
Thanks in advance
Last edited by Fang; 10-09-2008 at 09:13 AM.
configure your apache :
under your httpd.conf
index.php3 index.html index.htm
above code was added and config file was saved.. still the problem continues..
Originally Posted by Bladez
When you point your browser to a folder it should display the index.html or index.php file of that folder.
For example if you point your browser to http://mayuonline.com/test
it should display the index.html file under the directory test
I configured Apache
to run on my local machine and I found that when I point my browser to a folder it lists the files in that folder, instead of pointing to index.php.
searched and found the solution for the problem.
- Open your http.conf file in Notepad (which can be found in the folder where apache is installed)
- Search for DirectoryIndex
- You will find something like "DirectoryIndex index.html index.html.var"
- Replace it with "DirectoryIndex index.html index.php index.html.var"
Now your browser will point to index.php files too
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread