WAMP - phpmyadmin 403 error from localhost, but not from IP 127.0.0.1?

Posted by kdub on Server Fault See other posts from Server Fault or by kdub
Published on 2012-01-15T16:38:45Z Indexed on 2012/04/15 11:33 UTC
Read the original article Hit count: 206

Filed under:
|
|

I was wondering if anyone can explain this to me.

I installed WAMP 2.2. I opened up the dashboard menu, and clicked localhost. I was brought to the WAMP localhost home page. I clicked on phpmyadmin and get a 403 access is denied error message. However, if I type in the ip address 127.0.0.1/phpmyadmin in the address bar, then VOILA, I am in (however, I am not prompted to login to phpmyadmin, I am instantly brought to the phpmyadmin homepage)

Please note, I have found the solution to get rid of the 403 error message when entering phpmyadmin from the the localhost extension (change the Deny all setting to Allow all); so I am not asking how to solve that, but my question is:

Why if localhost and 127.0.0.1 go to the same spot, will when using the IP addres, I am granted access to subsequent applications and with localhost I am not?

Any feedback would be greatly appreciated.

© Server Fault or respective owner

Related posts about Windows

Related posts about localhost