Welcome! Log In Create A New Profile

Advanced

Re: Multiple caching solutions for anonymous and logged in users with SSI on

Antonio P.P. Almeida
March 06, 2012 06:20AM
> Bird brain me :-)
>
> What does this mean?
>
> ~SESS[[:alnum:]]+=(?<session_id>[[:graph:]]+) $session_id;

It means to grab the sub-token on the right-hand side of the session token.
Using POSIX character classes for the regex:

https://en.wikipedia.org/wiki/Regular_expression#POSIX_character_classes

> Also 'if' is evil inside a location. Right ?

Not really. Here it's a mere return. From the famous IfIsEvil wiki page:

The only 100% safe things which may be done inside
if in location context are:

return ...;
rewrite ... last;
--appa

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

Multiple caching solutions for anonymous and logged in users with SSI on

Quintin Par March 04, 2012 10:28AM

Re: Multiple caching solutions for anonymous and logged in users with SSI on

Quintin Par March 04, 2012 10:22PM

Re: Multiple caching solutions for anonymous and logged in users with SSI on

António P. P. Almeida March 05, 2012 08:02PM

Re: Multiple caching solutions for anonymous and logged in users with SSI on

Quintin Par March 06, 2012 03:52AM

Re: Multiple caching solutions for anonymous and logged in users with SSI on

Antonio P.P. Almeida March 06, 2012 05:02AM

Re: Multiple caching solutions for anonymous and logged in users with SSI on

Quintin Par March 06, 2012 06:14AM

Re: Multiple caching solutions for anonymous and logged in users with SSI on

Antonio P.P. Almeida March 06, 2012 06:16AM

Re[2]: Multiple caching solutions for anonymous and logged in users withSSI on

Max March 06, 2012 12:56PM

Re[2]: Multiple caching solutions for anonymous and logged in users with SSI on

Max March 06, 2012 01:16PM

Re: Multiple caching solutions for anonymous and logged in users with SSI on

Ed W March 06, 2012 11:48AM

Re: Multiple caching solutions for anonymous and logged in users with SSI on

Antonio P.P. Almeida March 06, 2012 06:20AM

Re: Multiple caching solutions for anonymous and logged in users with SSI on

Quintin Par March 06, 2012 06:56AM

Re: Multiple caching solutions for anonymous and logged in users with SSI on

Antonio P.P. Almeida March 06, 2012 07:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 266
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