Received: (qmail 90803 invoked by uid 501); 2 Dec 2000 15:28:39 -0000 Message-Id: <20001202152839.90801.qmail@locus.apache.org> Date: 2 Dec 2000 15:28:39 -0000 From: Henrik Johansson Reply-To: Henrik.Johansson@ite.mh.se To: submit@bugz.apache.org Subject: RewriteMap seems to work improper X-Send-Pr-Version: 3.110 >Number: 6921 >Category: mod_rewrite >Synopsis: RewriteMap seems to work improper >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Dec 02 07:30:00 PST 2000 >Closed-Date: Sat Dec 02 13:41:55 PST 2000 >Last-Modified: Sat Dec 02 13:41:55 PST 2000 >Originator: Henrik.Johansson@ite.mh.se >Release: 1.3.14 >Organization: >Environment: solaris7 gcc2.95.2 >Description: Creating rules with map-files doesn't seem to be able to handle $1 has keyword. If I try to use a keyword that I know exist in the mapfile as argument, it works, but if I try to use $1 that I shall get from the rule, it doesn't. mod_proxy and mod_rewrite is enabled. LOG_OUTPUT: map lookup FAILED: map=map_users1[txt] key=$1 >How-To-Repeat: map_users1: user1 server1 httpd.conf: RewriteEngine on RewriteMap map_users1 txt:/path/to/map_users1 RewriteRule ^/~([a-z])(.*) http://${map_users1:$1}/~$1$2 >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: slive State-Changed-When: Sat Dec 2 13:41:55 PST 2000 State-Changed-Why: This is a known bug that will be fixed in the next release. See http://httpd.apache.org/dist/apache_1.3.14-fix.diff >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]