httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Moe <ji...@sohnen-moe.com>
Subject Re: [users@httpd] ReDirect question
Date Fri, 26 Jun 2015 19:21:35 GMT
On 06/25/2015 10:18 PM, Eric Covener wrote:
>> 
>> Redirect /catalog/?app=ecom&ns=catshow&ref=books \ 
>> https://ya250.infusionsoft.com/app/storeFront/handleStoreFrontLink?displayType=Category&id=1&displayName=Books
>>
>
>> 
> Redirect doesn't match against the query string. Try mod_rewrite.
> 
  The original URL is
http://sma-v3.sma.com/catalog/?app=ecom&ns=catshow&ref=books

  I then tried this:
RewriteEngine on
RewriteCond %{QUERY_STRING} app=ecom&ns=catshow&ref=books
RewriteRule ^
https://ya250.infusionsoft.com/app/storeFront/handleStoreFrontLink?displayType=Category&id=1&displayName=Books
[R=301,L]

  It does not match either. :-(

-- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936


Mime
View raw message