Mailing List Archive

[Bug 7492] - Rewritemap variables not work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7492>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7492

Rewritemap variables not work





------- Additional Comments From yuriy.ryabikov@yessoftware.com 2002-03-27 08:22 -------
Joshua,

Thank you for reply.
Please take a look at the line from rewrite log:
map lookup OK: map=AntiLeech key=$1 -> val=
1. back-reference to pattern does is not resolved to URI as it should be,
when used within rewrite-map reference
RewriteRule ^(.*)$ ${AntiLeech:$1|/leech2.html}
2. rewrite map program does not receive any input, as it's evident from empty
perl log, which I forgot to mention, and turned off buffering in attached perl
script.
3. This bug is exposed only under Win32. Under UNIX RewriteMap works ok,
all vars are subsituted, and per-dir prefix is added only once (latter may be
because of slightly different directory layout, but that's another issue. BTW,
RewriteBase does not help).

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org