05-13-2010 06:52 AM
I want to have a serverfarm that has the ability to do the following:
1. When user types in http://www.test.com, the user is redirected to https://www.test.com/portal
2. When user types in https://www.test.com, the user is redirected to https://www.test.com/portal
3. SSL rewrite occurs for both
I have configured this and everything works fine with some exceptions on the redirects.
A. I cannot get #2 above to work. Only the http to https redirect works. Is there a different way to get https://www.test.com to https://www.test.com/portal to work?
B. When using #1 above, the user clicks on a link on the page and the link seems to take the user back to my original http: to https: redirect instead of using the URL in the link that was clicked. I am using a "webhost-redirection https://%h/portal/default.aspx 302" for my rserver redirect. I have tried a variety of other ways. If I choose "webhost-redirection https://%h/portal/%p 302, then I end up getting https://www.test.com/portal/portal which obviously doesn't work either. The only way I can seem to get the redirect to work properly is if I have it done on the server itself (http://www.test.com to https://www.test.com/portal/default.aspx.)
Is this a common issue for http to https: redirect with subdirectories?
Is there a way I can force the ACE to change any URLs from http to https so that after the initial 302 redirect, any link clicked will change http to https?
Thanks,
P
06-05-2010 01:25 PM
Please show us your config, especially the 'ssl url rewrite' part.
06-07-2010 12:19 AM
The problem is most probably your class-map which catches too much url (including the ones not to be redirected).
Without the config and a sniffer trace to see the http requests and responses, it will be difficult to help you.
Gilles.
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