Welcome! Log In Create A New Profile

Advanced

Re: basic auth with rewrite issue

January 19, 2010 12:21PM
Hi Merlin,

Thanks for the input, but i tried your suggestion of

[code]
server {
listen 80;
server_name app.dns.com;
auth_basic "Restricted";
auth_basic_user_file passfile;
rewrite ^(.*)$ http://app.dns.com:7004$1 permanent;
}

[/code]

But this still doesn't prompt a login. Were you suggesting that I also, drop the 'permanent'?

Thanks
-zach
Subject Author Posted

basic auth with rewrite issue

zlegein January 15, 2010 09:28PM

Re: basic auth with rewrite issue

merlin corey January 18, 2010 04:32PM

Re: basic auth with rewrite issue

zlegein January 19, 2010 12:21PM

Re: basic auth with rewrite issue

Maxim Dounin January 19, 2010 12:40PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 209
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