Re: Combine location blocks with same content

2014-10-08 Thread B.R.
I am glad to read that things are working out :o) --- *B. R.* On Thu, Oct 9, 2014 at 2:35 AM, Lorenzo Raffio wrote: > Thanks B.R., it works now. :-) > > > ___ > nginx mailing list > nginx@nginx.org > http://mailman.nginx.org/mailman/listinfo/nginx > _

Re: Combine location blocks with same content

2014-10-08 Thread Lorenzo Raffio
Thanks B.R., it works now. :-)___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Combine location blocks with same content

2014-10-06 Thread B.R.
location directive documentation states that '^~' modifier matches prefix locations, not regular expression ones, thus trying to use '^~' with a regular expression will most probably always end up in a failure. Try to use the regul

Combine location blocks with same content

2014-10-06 Thread Lorenzo Raffio
location ^~ /categoria/personale-scolastico/area-docenti/ {                 auth_basic                          "Restricted";                 auth_basic_user_file    /var/www/domain/.pswd_docenti;                 try_files $uri $uri/    /index.php?$args;                 include