I'm the one who's confused :) The rule: RewriteRule /offers(/books/.*)
/index.cfm?go=offers.details&bookid=${mapfile:$1} creates the dynamic link ex:
http://mysite/offers/books/Harry-Potter and so I was thinking maybe I could add
a RewriteCond directive before this rule?
>cf coder wrote:
>> RewriteCond %{QUERY_STRING} bookid
>
>Your incoming URL doesn't have a bookid in it -- that's what you are
>rewriting to. One or more of us is confused. It could very well be me.
> :-)
>
>Also, if you use (/books/.*) then the match that is (I guess) looked up
>in your mapfile will include the books keyword, eg. /books/harry-potter
>instead of just what follows it.
>
>--Ben Doom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w
Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1125
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21