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: Expires add header Set-Cookie



 !

2010/6/3 ShivaS <nginx-forum@xxxxxxxx>:
>  ,
>     .
>  if   :
>
> if ($request_uri ~* /id=([0-9]) {
> set $id $1;
> add_header Set-Cookie "id=$id; path=/; domain=.domain.com; expires=<DATE>";
> }
  if

- location /id==([0-9]) {
+ location ~* /id=([0-9]) {
>    userid     on;
>    userid_name   id:$1;
>    userid_domain  .domain.com;
>    userid_path   /;
>    userid_expires 365d;
>    userid_p3p none;
> }
>


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


 




Copyright © Lexa Software, 1996-2009.