08-01-2012 09:46 PM
Hi ,
My requirement is as follows
my website is http://abc.com
another website is http://xyz.com
we are supposed to expose outside world url http://abc.com only. when the client access http://abc.com/myurl1 or http://abc.com/myurl2 then it should be serving to the serverfarm as a usual load balancing mechanism... perfect and easy one
now when the end user access the website as http://abc.com/myredirecturl1 or http://abc.com/myredirecturl2 then it should be redirected to http://xyz.com/myredirecturl1 and http://xyz.com/myredirecturl2 respectively.
However , end user's url should not be changed to http://xyz.com but it should be server as http://abc.com/myredirecturl1 or 2 as requested.
we have two serverfarms one for xyz.com and one for abc.com
so the question is will I be able to use action-list to achieve this task , if yes , can someone assist me to do this .
I have currently enabled action-list but when i captured the http traffic , the header host value is not getting changed to the second url as expected.
I am herewith attaching my configuration as well.
any support is highly appreciated.
thanks,
Parvees M
08-01-2012 10:56 PM
Hi Parveesm,
You are saying the ACE is changing from: "abc.com" to "xyz.com", properly however it is NOT rewriting the uri, is that correct?. If this is the case, then I am afraid this is expected behavior since the ACE cannot rewrite URI.
Hope this helps,
Jorge
08-01-2012 11:00 PM
Hi Jorge ,
No ,
that is not my requierment , if i put a redirection it works fine .
but the problem with redirection is that client's host header also changes the website from
http://abc.com to http://xyz.com.
i dont want this to happen , i want client still see the website as http://abc.com , but internally from the ACE it should rewrite the host as xyz.com and it serves to the appropriate serverfarm of xyz.com . i have to do this because , the websservers in the serverfarm for XYZ dont understand the host http://abc.com but only http://xyz.com
hope my requirement is clear.
thanks,
Parvees M
08-01-2012 11:08 PM
Hello Parvees,
Then you need to keep http://abc.com, all the time no matter what however
internally, it should be rewritten or something to be: http://xyz.com, then your
servers can serve it since they only know http://xyz.com and do not know http://abc.com, right?
For External clients, it should be transparent and they always should see: http://abc.com
correct?
Jorge
08-01-2012 11:09 PM
Jorge,
Exactly correct.
08-01-2012 11:13 PM
Hi Parvees,
Mmm I still think it won´t be possible.
Please check this thread, it is a very similar query:
https://supportforums.cisco.com/thread/130613
Hope this helps,
Jorge
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