# HG changeset patch # User Ruslan Ermilov # Date 1327606959 0 # Node ID 43f379b12b76994a9fa11318ac5d964d557793ee # Parent f9f8b6e98adade2ac8f15819a1322df290a6c0e5 English translation of ngx_http_userid_module. diff -r f9f8b6e98ada -r 43f379b12b76 xml/en/GNUmakefile --- a/xml/en/GNUmakefile Thu Jan 26 19:41:04 2012 +0000 +++ b/xml/en/GNUmakefile Thu Jan 26 19:42:39 2012 +0000 @@ -72,6 +72,7 @@ http/ngx_http_split_clients_module \ http/ngx_http_sub_module \ http/ngx_http_upstream_module \ + http/ngx_http_userid_module \ REFS_XML = $(foreach name, $(REFS), xml/$(DOC_LANG)/docs/$(name).xml) REFS_HTML = $(foreach name, $(REFS), $(OUT)/$(DOC_LANG)/docs/$(name).html) diff -r f9f8b6e98ada -r 43f379b12b76 xml/en/docs/http/ngx_http_userid_module.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xml/en/docs/http/ngx_http_userid_module.xml Thu Jan 26 19:42:39 2012 +0000 @@ -0,0 +1,178 @@ + + + + + + +
+ + +The ngx_http_userid_module module sets cookies +suitable for client identification. +Received and set cookies can be logged using the embedded variables +$uid_got and $uid_set. +This module is compatible with the +mod_uid +module for Apache. + + +
+ + +
+ + + +userid on; +userid_name uid; +userid_domain example.com; +userid_path /; +userid_expires 365d; +userid_p3p 'policyref="/w3c/p3p.xml", CP="CUR ADM OUR NOR STA NID"'; + + + +
+ + +
+ + + + on | + v1 | + log | + off +off +http +server +location + + +Allows or prohibits to set cookies and log the received cookies: + + +on + +allows to set version 2 cookies +and log the received cookies; + + +v1 + +allows to set version 1 cookies +and log the received cookies; + + +log + +prohibits to set cookies +but allows to log the received cookies; + + +off + +prohibits to set cookies and log the received cookies. + + + + + + + + + +name | none +none +http +server +location + + +Defines a domain for which the cookie is set. +The parameter none disables setting a domain for a cookie. + + + + + + +time | max + +http +server +location + + +Sets a time during which a browser should keep the cookie. +The parameter max sets the time to +“31 Dec 2037 23:55:55 GMT”. +This is the maximum time understood by old browsers. + + + + + + +name +uid +http +server +location + + +Sets a cookie name. + + + + + + +string + +http +server +location + + +Sets a value for the
P3P
header field that will be +sent along with a cookie. +
+ +
+ + + +path +/ +http +server +location + + +Defines a path for which the cookie is set. + + + + + + +number +IP address of the server +http +server +location + + +Identifies the service that set a cookie. +For version 1 cookies the default value is zero. +For version 2 cookies the default value is an IP address of the server. + + + + +
+ +
diff -r f9f8b6e98ada -r 43f379b12b76 xml/en/docs/index.xml --- a/xml/en/docs/index.xml Thu Jan 26 19:41:04 2012 +0000 +++ b/xml/en/docs/index.xml Thu Jan 26 19:42:39 2012 +0000 @@ -209,6 +209,11 @@ ngx_http_upstream_module + + +ngx_http_userid_module + +