mod_parsed_vars question

ryo sato sato at itboost.co.jp
Tue Sep 9 17:13:39 MSD 2008


Thank you for answering my question.

> Do you have applied the patch for Nginx, required by mod_parsed_vars?

What patch is required by mod_parsed_vars?
To use mod_parsed_vars, any other patch is required?

My spec file is below.(atattched)
===================================================
...
patch -p0 <
/%{_builddir}/nginx-%{version}/nginx_upstream_hash-0.2/nginx-0.5.21.patch
patch -p0 <
/%{_builddir}/nginx-%{version}/mod_parsed_vars-70df16b39e79/ngx_http_parsed_variables.patch
...
./configure
...
--add-module=%{_builddir}/nginx-%{version}/nginx_upstream_hash-0.2 \
--add-module=%{_builddir}/nginx-%{version}/mod_parsed_vars-70df16b39e79
===================================================

When applying the patches,messages is like this.
===================================================
...
+ patch -p0
patching file src/http/ngx_http_upstream.h
Hunk #1 succeeded at 90 with fuzz 1 (offset 1 line).
+ patch -p0
patching file src/http/ngx_http_variables.c
Hunk #1 succeeded at 1388 (offset 15 lines).
+ exit 0
...
===================================================

> What do you means by "doesn't work correctly"?

It seems that the sessionID is not substituted for the variable($args_xxx).

But no error messages is displayed, when starting the daemon.


> Is the PHPSESSID correctly logged?

No.
Always displayed "-".

===================================================
1.1.1.1 - [09/Sep/2008:21:17:28 +0900] GET
/index.php?PHPSESSID=a430ccca204612b88ecff8647ea11152e9937f1d86a4b30db6e6d98b647dd752
HTTP/1.1 -=>-'
===================================================

-- 
Ryo Sato
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nginx.spec
URL: <http://nginx.org/pipermail/nginx/attachments/20080909/6ba5fcd6/attachment.ksh>


More information about the nginx mailing list