14

strange localhost behaviour

view full story
linux-howto

http://serverfault.com – I'm trying to implement http digest authentication on part of a local domain. I'm using MAMP on Mac OSX Lion. MAMP uses port 8888 so I can navigate to my domain either at http://localhost:8888/myDomain or http://127.0.0.1:8888/myDomain. Both of these work fine for the non-authenticated sections of the domain. However, if I navigate to the address that is protected something weird happens. If I use localhost then the digest auth works absolutely fine but if I use 127.0.0.1 instead then the auth keeps failing. I haven't been able to see anything relevant in my apache log file or my php log file (HowTos)