atom feed18 messages in ru.sysoev.nginxRe: Error pages/Web Authentication
FromSent OnAttachments
HTFJun 9, 2011 7:53 am 
Maxim DouninJun 9, 2011 9:16 am 
HTFJun 9, 2011 10:00 am 
Maxim DouninJun 9, 2011 10:57 am 
HTFJun 9, 2011 2:42 pm 
António P. P. AlmeidaJun 10, 2011 10:31 am 
HTFJun 10, 2011 10:47 am 
António P. P. AlmeidaJun 10, 2011 10:57 am 
HTFJun 10, 2011 10:58 am 
HTFJun 10, 2011 11:12 am 
HTFJun 11, 2011 1:54 am 
Maxim DouninJun 11, 2011 3:28 am 
HTFJun 14, 2011 8:21 pm 
Maxim DouninJun 15, 2011 1:03 am 
HTFJun 15, 2011 5:33 am 
Maxim DouninJun 15, 2011 12:29 pm 
tsaavikJul 7, 2011 8:13 am 
Maxim DouninJul 7, 2011 10:22 am 
Subject:Re: Error pages/Web Authentication
From:HTF (ngin@nginx.us)
Date:Jun 11, 2011 1:54:57 am
List:ru.sysoev.nginx

Hello,

I still have some issue with this configuration. I restricted access to admin back end:

location /administrator { auth_basic "Authorized Access Only!"; auth_basic_user_file .userdb; }

- however when I add index.php file to the URl (mydomain.com/administrator/index.php) the nginx just allow me to access this part of the website without authentication. I modified above configuration to:

location ^~ /administrator { auth_basic "Authorized Access Only!"; auth_basic_user_file .userdb; }

- then even if I append index.php it's still ask me for login credentials but when I logged in the web browser is trying to download a file instead of opening the website.

Can someone point me to the right direction please as this problem persist even with the nginx default config files/configuration examples.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,205299,205856#msg-205856