Password protecting folder breaks PHP within that folder

raab nginx-forum at
Thu Dec 3 09:35:28 MSK 2009

I'm trying to password protect a folder using htpasswd, works fine and asks for a l/p, however php in that particular folder refuses to work. PHP works anywhere else but the password protected location. Once I comment out the password protected location and restart nginx it's fine again. Wondering if someone can assist?

nginx.conf is here:

Posted at Nginx Forum:,27597,27597#msg-27597

More information about the nginx mailing list