02-02-2012 04:46 AM
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 )
02-02-2012 09:41 AM
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
02-03-2012 01:05 AM
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 ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide