Welcome! Log In Create A New Profile

Advanced

Captcha - No Caching?

Maik Unger
July 15, 2011 08:18AM
Hello Everybody,

I have a Caching problem with any captcha pictures in nginx.

HTTP-Header: GET /index.php?eID=sr_freecap_captcha&id=650

How can I tell nginx, that he will not caching this request, when there
is the following string:

eID=sr_freecap_captcha

Config:

set $captcha_caching 1;
if ($arg_eID ~ 'sr_freecap_captcha')
{
set $captcha_caching 0;
}

if ($captcha_caching = 0)
{
break;
}

What is wrong with this config above?

Regards,


Maik

--
Posted via http://www.ruby-forum.com/.

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

Captcha - No Caching?

Maik Unger July 15, 2011 08:18AM

Re: Captcha - No Caching?

Maxim Dounin July 15, 2011 08:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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