www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Evad <pe...@kudosnet.com>
Subject general/7399: mod_rewrite ${map:$1} doesn't expand
Date Tue, 13 Mar 2001 04:56:37 GMT

>Number:         7399
>Category:       general
>Synopsis:       mod_rewrite ${map:$1} doesn't expand
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Mar 12 21:00:01 PST 2001
>Originator:     pevad@kudosnet.com
>Release:        1.3.19
[root@pulsar standard]# uname -a
Linux pulsar.kudosnet.net 2.2.14-5.0smp #1 SMP Tue Mar 7 21:01:40 EST 2000 i686 unknown

I've tried 1.3.14 (can't find patch file referenced in other bug reports for this same problem,
or I WOULD try that). Also, 1.3.17 with an apparent 'patch', and 1.3.19. All yield the same
result; mod_rewrite doesn't expand the $1 token in a rewrite map: 

RewriteEngine on
RewriteLogLevel 9
RewriteLog  /home/httpd/logs/rewrite.log
RewriteMap    cloak       prg:/home/httpd/cgi-bin/cloak/cloak.cgi
RewriteRule   ^/(.+\.(html|htm|php|php3))$ /${cloak:$1} [L]

${cloak:$1} doesn't expand. 

I've seen references to a 1.3.14 patch file, but apparently it's been taken down?
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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!     ]

View raw message