Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

ACE redirect with SSL and subdirectory

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

Everyone's tags (1)
2 REPLIES
Silver

Re: ACE redirect with SSL and subdirectory

Please show us your config, especially the 'ssl url rewrite' part.

Cisco Employee

Re: ACE redirect with SSL and subdirectory

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.

1521
Views
0
Helpful
2
Replies
CreatePlease to create content