Re: Transforming nginx for Windows

2013-09-11 Thread itpp2012
nginxorg Wrote: --- > Just checking if you have any patches against nginx-1.4 or nginx-1.5 > to share? > > Thanks! When the outstanding issues have been resolved all code will flow back into the community, my target is a Windows nginx version th

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

2013-09-11 Thread Francis Daly
On Wed, Sep 11, 2013 at 08:32:09AM -0500, Andrew Martin wrote: Hi there, > Using the similar statement "try_files $uri $uri/ /index.php;", if I visit > this URL: > http://mysite.com/index.php?title=my_test_page > then the URL is rewritten to this, but it just loads the contents of > index.php (wi

Re: Transforming nginx for Windows

2013-09-11 Thread Andrew Alexeev
On Sep 10, 2013, at 11:25 PM, itpp2012 wrote: > 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 fi

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

2013-09-11 Thread Andrew Martin
Francis, Using the similar statement "try_files $uri $uri/ /index.php;", if I visit this URL: http://mysite.com/index.php?title=my_test_page then the URL is rewritten to this, but it just loads the contents of index.php (without the title variable): http://mysite.com/my_test_page What it shows wou

Re: LDAP Auth only for external addresses

2013-09-11 Thread Francis Daly
On Wed, Sep 11, 2013 at 09:20:58AM +0200, Matthias Sidler wrote: Hi there, > That works for me: Good to hear. Having the answer included on the list like this should also help the next person with the same issue. Cheers, f -- Francis Dalyfran...@daoine.org __

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

2013-09-11 Thread Francis Daly
On Tue, Sep 10, 2013 at 09:07:46PM -0500, Andrew Martin wrote: Hi there, > Would it be possible to only redirect if the title $_GET variable is > present? Yes. Use something like if ($arg_title != "") { return 302 http://mysite.com/$arg_title; } inside the "location = /index.php" bloc

AW: LDAP Auth only for external addresses

2013-09-11 Thread Matthias Sidler
Thanks alot! That works for me: [...] location / { satisfy any; auth_ldap "Forbidden"; auth_ldap_servers myldap; auth_basic "Forbidden"; allow 10.0.0.0/8; allow 172.0.0.0/8; deny all; } [...] --- Mat __