Forum Discussion

ERLomboy_27803's avatar
ERLomboy_27803
Icon for Nimbostratus rankNimbostratus
Feb 08, 2014

iRule rewrite | URL hiding

Hi Guys,

 

Have a requirement and I'll try to provide as much details as possible to help understand.

 

Internet users views web page, and posts web form to: htps://www.mysite.com/help/site1/search.do?book=blah

 

The 1st F5 (has SSL cert) receives the traffic and sends the request ( including form data, and URL and query string) to the 2nd F5 (without SSL cert, and is managed on a different dmz location) and the 2nd F5 points to webserver: HTTP://news.bizsite.com:8080/ehelp/microsites. The webserver returns the data to Internet users but the users should still see the URL they visited (htps://www.mysite.com/help/site1/search.do?book=blah)

 

Notes: Different Protocol ( https vs. http) Different Hostname ( www.mysite.com vs. news.bizsite.com) Different Port : 443 vs. 8080 everything after the "/help/site1" is passed to the the target webserver. Users\Internet browser should only see "https://www.mysite.com/help/site1/..." and NOT the HTTP://news.bizsite.com:8080/ehelp/microsites

 

In summary: the user only ever sees the URL:

 

HTTPS://www.mysite/help/site1/search.do?something=somethingelse&more=moreplus Note: everything after the “/site1/” could change – and we should account for such a scenario.

 

But, “end user redirection” – e.g., issuance of an HTTP 300, 301, 302 to the end user browser, should never occur, because we want to shield the end user from the actual destination URL.

 

Thanks, Edward

 

  • Would it show even if the uri path is non-existent?

     

    https://www.mysite.com/help/site1/ is incoming request from client to f5, isn't it?

     

  • Appreciate if you can provide further assistance on this.

     

    i think you have to find out why https://www.mysite.com/help/site1/ is not shown in log.