Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

ACE 4710 Url Rewrite.

Hi

We got clients accessing a page loadbalanced on our Ace 4710. Users access this page https://hostname.domain.net/Reports  we want this to be rewritten to https://hostname.domain.net/Reports/Page/Folder.aspx is this possible to do on the ace?

configuration looks like this. ( this is not the actual conf )  We are running with A4 ( 2.2 )

ACE.JPG

2 REPLIES
Bronze

Re: ACE 4710 Url Rewrite.

Hi,

Basically this is done with a HTTP redirection, in your case (assuming your real config has the same parameters) it will work because the ACE is configured to do the SSL offloading.

Here is a sample of how your config should look like:

rserver redirect Reports

  webhost-redirection https://%h/Reports/Page/Folder.aspx

serverfarm redirect Redirect

  rserver Reports

    inservice

class-map type http loadbalance match-any ASPX

  2 match http url /Reports/Page/Folder.aspx

class-map type http loadbalance match-any Reports

  2 match http url /Reports/

policy-map type loadbalance first-match SLB

  class ASPX

    serverfarm Reporting_Serverfarm

  class Reports

    serverfarm Redirect

  class class-default

    serverfarm Reporting_Serverfarm

In this case I added the class-default if there is a chance some traffic is different than www.xyz.com/Reports so that it will not be redirect but sent to the real serverfam instead, if you think all your traffic will be with the Reports URI just make the class Reports your default class.

HTH

__ __

Pablo

Highlighted
New Member

Re: ACE 4710 Url Rewrite.

Hi Pablo. I have tried to follow your advice, but i still can´t get it to work. I have configured it like this ( this is not the full configuration but just some of it ) see in attachment.

rserver redirect Redirect 

webhost-redirection https://%h/Reports/Pages/Folder.aspx  <--- The %h does it include the FQN ( fully qulified name ) aswell or is it only the hostname ?  

663
Views
0
Helpful
2
Replies
CreatePlease to create content