Forum Discussion
rlong_77885
Nimbostratus
May 22, 2008Server is redirecting from https to http
I am a newbie to iRules. I have a problem that is opposite of everyone else in this forum. My client is using https://virtualserver.address to connect to my Virtual Server. I configured my VS with port 443 and SSL profile; however, my application server is running on port 8555. I configured my server pool members with port 8555. When the application server returning the data, it redirects to http://virtualserver.address and it fails.
Please help!
3 Replies
- hoolio
Cirrostratus
Can you enable rewriting of redirects and retest? For more info, you can check the config guide for your version on AskF5.com.
Aaron - rlong_77885
Nimbostratus
Hi Aaron,
Yes I tried that, but it only worked for the first request (see output from httpwatch below). It didn't rewrite and redirect for the second request, which is the login page. I would like for it to rewrite/redirect every transaction during the session.
Thanks,
/rlong
Redirect to https://172.16.16.254/index.jsp
+ 0.0630.011541400GET200 text/html;charset=ISO-8859-1 https://172.16.16.254/index.jsp
+ 0.0000.94400GETERROR_INTERNET_CANNOT_CONNECT*http://172.16.16.254/processLogin.do - hoolio
Cirrostratus
I'm not sure why the rewriting wouldn't work for subsequent responses. Is the second request (to /processLogin.do) on the same TCP connection as the first one which is rewritten correctly?
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects