You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/10/19 17:36:36 UTC
DO NOT REPLY [Bug 31781] New: -
RewriteRule does not allow environment variables in cookie flag
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31781>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31781
RewriteRule does not allow environment variables in cookie flag
Summary: RewriteRule does not allow environment variables in
cookie flag
Product: Apache httpd-2.0
Version: 2.0.52
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: mod_rewrite
AssignedTo: bugs@httpd.apache.org
ReportedBy: wchao@yahoo.com
The following does not work:
RewriteRule "^([a-zA-Z0-9]+)$" "vanity_url/$1.html"
"[CO=my_cookie_name:%{HTTP_REFERER}:mydomain.com]"
If you replace %{HTTP_REFERER} with another environment variable, it still does
not work. If you replace it with a back reference (e.g. $1, $2, $3, ...), it
works. If you replace it with static content, it also works.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org