goto @loc; / return @loc;

2013-09-10 Thread etienne . champetier
Hi Here is a simplified example of my nginx config location /loc1 { location ~ \.(css|js)$ { try_files $uri @loc1; } return 599; error_page 599 = @loc1; } location @loc1 { fastcgi_index index.aspx; # Page par defaut fastcgi_pass unix:/tmp/loc1.sock; } The idea is

Re: Re[2]: Rewrite URL to only show value of $_GET argument

2013-09-10 Thread Andrew Martin
Francis, On Tue, Sep 10, 2013 at 11:46 AM, Francis Daly wrote: > On Mon, Sep 09, 2013 at 08:23:36AM -0500, Andrew Martin wrote: > > Hi there, > > > If I use this line: > > rewrite ^/index\.php(.*)$ http://mysite.com/$arg_title? redirect; > > > > /index.php?title=my_test_page redirects to /my_te

Re: Transforming nginx for Windows

2013-09-10 Thread itpp2012
10:27 10-9-2013: B02 build Based on nginx 1.4.2 with; pcre-8.32 zlib-1.2.8 openssl-1.0.1e + Compiled with: FD_SETSIZE = 16384 (original Windows source files modified) + Now capable to handle C250K ! (with optimization registry file) + Added Windows optimization registry file, check your curr

Re: Re[2]: Rewrite URL to only show value of $_GET argument

2013-09-10 Thread Francis Daly
On Mon, Sep 09, 2013 at 08:23:36AM -0500, Andrew Martin wrote: Hi there, > If I use this line: > rewrite ^/index\.php(.*)$ http://mysite.com/$arg_title? redirect; > > /index.php?title=my_test_page redirects to /my_test_page That's what you asked for initially; I'd probably spell it as locati

Re: Secure permission structure for server blocks?

2013-09-10 Thread Francis Daly
On Mon, Sep 09, 2013 at 02:22:50AM -0700, - - wrote: Hi there, > I am trying to wrap my head around this for weeks now. What is the most > secure way to organise the permissions of the web root directories (WRD) for > several server blocks. Especially when you have PHP applications like > Word

Re: LDAP Auth only for external addresses

2013-09-10 Thread Francis Daly
On Tue, Sep 10, 2013 at 11:34:01AM +0200, Matthias Sidler wrote: Hi there, Untested, but... > I configured a nginx 1.5.4 server with the ngnix-auth-ldap module. It works > all fine, but im looking for an option to distinguish the client networks. My > goal is, that users from the network 10.*.

Re: How to process Facebook signed request to determine proxy target?

2013-09-10 Thread mirceapreotu
Hi Ralf, I'm currently working on a similar functionality. Have you managed to find a solution? Thanks, Mircea Posted at Nginx Forum: http://forum.nginx.org/read.php?2,222397,242728#msg-242728 ___ nginx mailing list nginx@nginx.org http://mailman.n

Re: [DOC] Guide to Nginx + SSL + SPDY

2013-09-10 Thread mex
hi, thanx everybody for comments. a guid on howto nginx + authorization via client certs will be included in the next version of this document i'll investigate that gzip-comment, but from what i read so far: http-compression even in https is ok, while ssl/tls-compression is not; i'l include any

upstart after nginx update not working

2013-09-10 Thread cobain86
hi i've created the upstart with the following config # nginx description "nginx http daemon" author "George Shammas " start on (filesystem and net-device-up IFACE=lo) stop on runlevel [!2345] env DAEMON=/usr/sbin/nginx env PID=/var/run/nginx.pid expect fork respawn respawn limit 10 5 #oom

LDAP Auth only for external addresses

2013-09-10 Thread Matthias Sidler
Hi, I configured a nginx 1.5.4 server with the ngnix-auth-ldap module. It works all fine, but im looking for an option to distinguish the client networks. My goal is, that users from the network 10.*.*.* and 172.*.*.* don't have to authenticate as all the others. Is that possible ? Thanks in ad

Re: How to solve the problem of "405 not allowed"?

2013-09-10 Thread helluvanag ..
Hi, In all the above posts a code snippet has been given to rectify the 405 error. But i wondering where exactly that code snippet has to be added(i mean in which file of the server box). If anyone can explain a bit elaborately, i would be grateful. Thanks and Regards, Nagender -- Posted vi