Received: (qmail 51509 invoked by uid 501); 7 Nov 2000 04:46:18 -0000 Message-Id: <20001107044618.51505.qmail@locus.apache.org> Date: 7 Nov 2000 04:46:18 -0000 From: Billy Choy Reply-To: billy@ss.qesosa.edu.hk To: submit@bugz.apache.org Subject: Regex back-reference not working with RewriteMap X-Send-Pr-Version: 3.110 >Number: 6805 >Category: mod_rewrite >Synopsis: Regex back-reference not working with RewriteMap >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Nov 06 20:50:00 PST 2000 >Closed-Date: Mon Nov 06 22:02:21 PST 2000 >Last-Modified: Mon Nov 06 22:02:21 PST 2000 >Originator: billy@ss.qesosa.edu.hk >Release: 1.3.14 >Organization: >Environment: Linux 2.2.17 >Description: The following used to work in Apache 1.3.12: ... RewriteCond %{REQUEST_URI} ^/([a-zA-Z\-]+)(/.*)?$ RewriteCond ${langtoext:%1} !="" ... Similarly: ... RewriteRule ^/([a-zA-Z\-]+)(/.*)?$ $2 [E=LANG_NAM:$1,E=LANG_EXT:${langtoext:$1}] ... In either case, ${langtoext:XX} returns nothing in Apache 1.3.14 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: fanf State-Changed-When: Mon Nov 6 22:02:20 PST 2000 State-Changed-Why: This bug has been fixed. See http://bugs.apache.org/index.cgi/full/6671 and 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! ]