Welcome! Log In Create A New Profile

Advanced

Re: Multipule Map modules

November 08, 2011 12:20AM
Hi, António that is exactly wath is was trying to accomplish id didn't know i had to use the "~" at the beginning of the map key.
Thank you

>Do you mean that the request URI can contain both /pep and /sub?Like
> this:

> http://example.com/sub/pep/other-stuff-if-any

> If so then your matching must be done with a regex:

> map $uri $variable1 {
> default 11;
> ~/sub 7;
> }

> map $uri $variable2 {
> default 78;
> ~/pep 23;
> }
Subject Author Posted

Multipule Map modules

token November 07, 2011 12:42PM

Re: Multipule Map modules

António P. P. Almeida November 07, 2011 05:08PM

Re: Multipule Map modules

Francis Daly November 07, 2011 05:14PM

Re: Multipule Map modules

token November 08, 2011 12:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready