Thanks for very subtle suggestion. I do agree with you and follow this
strategy (to use programming language for processing the url arguments).
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,242547,242565#msg-242565
___
nginx mailing list
ngi
On Thu, Sep 05, 2013 at 01:05:17AM +0100, Francis Daly wrote:
Hmm...
> location ~ ^/.*[/.] {
That's probably more briefly written as
location ~ .[/.] {
f
--
Francis Dalyfran...@daoine.org
___
nginx mailing list
nginx@nginx.org
On Wed, Sep 04, 2013 at 06:54:06PM -0400, etrader wrote:
Hi there,
> I have a set of rewrites as
>
> rewrite ^/(.*)/(.*)/(.*)\.(.*) /script.php?a=$1&b=$2&c=$3&ext=$4 last;
> rewrite ^/(.*)/(.*)\.(.*) /script.php?a=$1&b=$2&ext=$3 last;
> rewrite ^/(.*)\.(.*) /script.php?a=$1&ext=$2 last;
> rewrit
I have a set of rewrites as
rewrite ^/(.*)/(.*)/(.*)\.(.*) /script.php?a=$1&b=$2&c=$3&ext=$4 last;
rewrite ^/(.*)/(.*)\.(.*) /script.php?a=$1&b=$2&ext=$3 last;
rewrite ^/(.*)\.(.*) /script.php?a=$1&ext=$2 last;
rewrite ^/(.*)/(.*)/(.*)/(.*) /script.php?a=$1&b=$2&c=$3&d=$4 last;
rewrite ^/(.*)/(.*)