New answers tagged localhost
Turned out it was the /etc/nsswitch file See the problem? cat /etc/nsswitch.conf | grep hosts hosts: = files mdns4_minimal [NOTFOUND=return] dns mdns4 A '=' sign incorrectly in the script. This was done in a custom package of ours (not written by me, blame allocation FTW!). that simply wasn't installed on the one that worked but was installed on the one ...
Your understanding on apache configuration is a bit backwards and upside-down. I'd suggest reading the documentation on any new software you're trying to configure. :) In short, this part of your virtualhost config: <VirtualHost *:80> ...has nothing to do with how apache handles connections to the virtualhost. Rather, it configures the listener ...
I flushed dns cache (don't know if this really helps), cleared cache in browser, set Server Name to 80, and added / at the end of URL like this localhost/myproject/. This does it for me.
Top 50 recent answers are included