Re: Problem with auth_basic and auth_basic_user_file

2014-06-24 Thread Varix
Hallo Maxim, thanks. I copy some errorpages in the custom errorpage folder and all is OK. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,251118,251134#msg-251134 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinf

Problem with auth_basic and auth_basic_user_file

2014-06-23 Thread Varix
Hallo, I want a login for this location. location /TEST/ { alias /www/c2c/; } With location /TEST/ { alias /www/c2c/; auth_basic "Test Auth"; } no username/password box in the browser. I see the index.html site from the c2c folder With location

Problem with application/octet-stream content-type

2014-03-21 Thread Varix
How to configure that? the files xxx-yyy-ddd-hhh and xxx-yyy-ddd-hhh.html have the same html code in it. Typing example.com/xxx-yyy-ddd-hhh.html in the browser is OK. Typing example.com/xxx-yyy-ddd-hhh in the browser get the wronge content-type application/octet-stream. A text/html content-typ

Re: split-clients for vhosts how?

2013-02-27 Thread Varix
t;${remote_addr}AAA" $variant { 0.5% .one; 2.0% .two; * ""; } Varix Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236593,236678#msg-236678 __

Re: Virtualhosts and map

2013-02-27 Thread Varix
other way, I thought. I will test same things in the next days. Thanks Varix Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236611,236677#msg-236677 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Virtualhosts and map

2013-02-27 Thread Varix
. This from the nginx docu is not enough for me. map $http_host $name { hostnames; default 0; example.com 1; *.example.com 1; example.org 2; *.example.org 2; .example.net 3; wap.* 4; } Varix Posted at Nginx Forum: http://forum.nginx.org/read.

Virtualhosts and map

2013-02-26 Thread Varix
What is the best way to configure virtualhost with map? Varix Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236611,236611#msg-236611 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

split-clients for vhosts how?

2013-02-25 Thread Varix
Hallo, what is the right way to use the Module ngx_http_split_clients_module with some vhosts? Varix Posted at Nginx Forum: http://forum.nginx.org/read.php?2,236593,236593#msg-236593 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org