08-08-2008 09:46 AM
Hello,
Is it possible to configure the ACE to remove a port number from a URL? For example, I have a server that is sending a string of "http://mysite.com:80/test" to the client, but I want it to be "http://mysite.com/test". Any ideas?
Thanks,
Lee
08-08-2008 10:15 AM
Why does it matter?
The back end servers never complains about :80
Is it only about port 80? or you want to translate different ports in requests to port 80 on the real server.
Syed
08-08-2008 10:18 AM
It's port 80. I have SSL proxy on the ACE so the client sees SSL, but the web server is adding :80 to the string so the URL looks like this to the end client:
08-08-2008 10:22 AM
I got it.
For this you need to use SSL rewrite function.
This will ensure that the response from Real server is rewritten.
Configuration example.
If server is sending port 80 in the url and you want it get converted to 443.
action-list type modify http 80t0443
ssl url rewrite location ".*" sslport 443 clearport 80
policy-map type loadbalance http first-match syed-policy
class xyz
serverfarm sf1
action 80t0443
Details at
Thanks
Syed Iftekhar Ahmed
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