Welcome! Log In Create A New Profile

Advanced

Password protect folder without breaking php in that folder

Posted by raab 
Password protect folder without breaking php in that folder
December 03, 2009 12:33AM
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?

I've attached my nginx.conf



Edited 1 time(s). Last edit at 12/03/2009 12:34AM by raab.
Attachments:
open | download - nginx.conf (2.2 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready