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

accessing URL with out changing the host-header at client end.

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

5 REPLIES

accessing URL with out changing the host-header at client end.

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

New Member

accessing URL with out changing the host-header at client end.

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

accessing URL with out changing the host-header at client end.

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

New Member

accessing URL with out changing the host-header at client end.

Jorge,

Exactly correct.

Re: accessing URL with out changing the host-header at client en

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

266
Views
0
Helpful
5
Replies
CreatePlease to create content