You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Billy Choy <bi...@ss.qesosa.edu.hk> on 2000/11/07 05:46:18 UTC
mod_rewrite/6805: Regex back-reference not working with RewriteMap
>Number: 6805
>Category: mod_rewrite
>Synopsis: Regex back-reference not working with RewriteMap
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Nov 06 20:50:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: billy@ss.qesosa.edu.hk
>Release: 1.3.14
>Organization:
apache
>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:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> 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! ]