Welcome! Log In Create A New Profile

Advanced

Re: Rewrite problem

September 16, 2010 01:27PM
Ok, solved this, just in case anyone needs the solution, here it is.

[code]
location /admin {
auth_basic "Restricted";
auth_basic_user_file /path/to/.htpasswd;
location ~ \.php$ {
include fastcgi.conf;
fastcgi_pass my-backend;
}
}

[/code]

http://www.somerorbay.com
Subject Author Posted

Rewrite problem

st1905 September 16, 2010 12:37PM

Re: Rewrite problem

st1905 September 16, 2010 01:15PM

Re: Rewrite problem

st1905 September 16, 2010 01:27PM

Re: Rewrite problem

Igor Sysoev September 16, 2010 01:28PM

Re: Rewrite problem

Igor Sysoev September 16, 2010 01:34PM

Re: Rewrite problem

st1905 September 18, 2010 12:55PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 63
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready