How can I configure a redirect rule that keeps the original path and query


<< Back to Knowledge Search

Solution

Overview

VPM Example

      Destination - URL object,  http://www.google.com.au         Action - Return Redirect with the value  https://$(url.host)$(url.pathquery)

CPL example

  url.domain="http://www.google.com.au" redirect(302, ".*", "https://$(url.host)$(url.pathquery)" );

Test request:
   http://www.google.com.au/index.php?var=test
Result of the redirect:   
   HTTP/1.x 302 Found
   Location: https://www.google.com.au/index.php?var=test

Cause
Resolution
Workaround
Additional Information
Bug Number
InQuira Doc IdFAQ698
Attachment

Article Feedback

Hide Properties
First Published      10/01/2014
Last Modified      10/01/2014
Last Published      10/01/2014
Article Audience
Product      ProxySG
Topic      Usability
Article Number      000009722
Summary     
Was this helpful?
Comments:
 
Previous MonthNext Month
SunMonTueWedThuFriSat