Welcome! Log In Create A New Profile

Advanced

Nginx Dynamic Rewriting

Alexander Over
June 15, 2011 05:16AM
Hello there,

is there a way to do dynamic rewriting something like this:

http://localhost/param1/param2/param3/key4/value4/key5/value5/key6/value6 and so on.

key value pairs can differ in wording and count.

i want to rewrite this to something like index.php?p1=$1&p2=$2&p3=$3&(loop)$4=$5 ...

Thx.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx Dynamic Rewriting

Alexander Over June 15, 2011 05:16AM

Re: Nginx Dynamic Rewriting

edogawaconan June 15, 2011 05:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 276
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready