Welcome! Log In Create A New Profile

Advanced

map a null/missing variable?

March 13, 2013 02:24PM
OK,

So I'm still working on my caching "issue", but this is a more general
question, so for the sake of indexing and helping others in the future
with (hopefully) a response...

How do I use a map to map the lack of a variable/header/cookie (NULL?)
to a value? I can't use "default", because when there IS a value it
will be a random set of characters.

So that said, if a regex like ".+" would work for "any value" and I use
'default' for the NULL, I would try that. :)

Thanks in advance,
AJ

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

map a null/missing variable?

aweber March 13, 2013 02:24PM

Re: map a null/missing variable?

Jonathan Matthews March 13, 2013 02:28PM

Re: map a null/missing variable?

Valentin V. Bartenev March 13, 2013 08:36PM

Re: map a null/missing variable?

Ruslan Ermilov March 14, 2013 01:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 143
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready