Index.php works under localhost virtual host but not under another virtual host (WAMP)?
I have two virtual hosts set up: http://localhost and http://edgeridge. the document root of my wamp server is c:/webs and the application I am running resides in c:/webs/myapp/public/. in myapp folder i have two files (index.php; which just runs the phpinfo() command, and the second is index.html which just has the text "Hello World")
The following works under the localhost virtual directory:
http://localhost/myapp/public/index.php
http://localhost/myapp/public/index.html
I have set up the document root of the virtual host for http://edgeridge to
c:/webs/myapp/public/
However, when i browse to http://edgeridge, http://edgeridge/index.html works but http://edgeridge/index.php does not work; i get the error 404 page not found code.
I have check the DirectoryIndex to make sure it includes .php for which it does. All settings seem to be set up correctly since it works under http://localhost/myapp/public/index.php.
Any help please, this has been bugging me for the past 3 days... help!!!