Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nginx + perl md5



lua :
string = ngx.var.request_uri
s = ngx.md5(string)
return s
nginx :
set_by_lua_file $md5 /etc/nginx/url.lua $request_uri;

, , .

2012/5/4 X-Thief <nginx-forum@xxxxxxxx>
perl_set $md5_cookie 'sub {
use Digest::MD5 qw(md5_hex);
return md5_hex($cookie_test1$cookie_test2);
}';

?

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,226048,226049#msg-226049

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru



--
Best regards,
Anton Kiryushkin,

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.