http://localhost does not work, http://127.0.0.1 works
- by dskanth
Iam running Zend with Apache and got to see a strange behaviour....
If i type http://127.0.0.1 in my browser url, it works fine, but after typing: http://localhost, i will get a file download window, saying file type as: application/x-httpd-php
And in my httpd.conf file, i have the following under VirtualHost *:80 definition:
ServerName localhost
DocumentRoot E:\zend\Apache2\htdocs\my_project\public
Directory E:\zend\Apache2\htdocs\my_project\public
Perhaps some configuration problem... can anyone guide me..