Forum Discussion
scottl_82413
Nimbostratus
Feb 07, 2008Don't redirect to SSL if URI exists
I'm trying to create an irule that will redirect:
http://www.mysite.com to https://www.mysite.com
however, if someone goes to http://www.mysite.com/training
I don't want ...
ask_me_anytime_
Nimbostratus
Feb 23, 2008hi,
I was doing something similar with the below script, but i didn't work...
I wanted to allow HTTPsSaccess to any URI starting with some words but it's not working.
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/m-admin" } {
use pool Portal_m_443
}
elseif { [HTTP::uri] starts_with "/myblog" } {
use pool Portal_m_443
}
else {
use pool Portal_443
}
}
I name this irule portal_443.
i applied this irule to HTTPS virtual server like 10.8.52.9:443 , resource-> irule portal_443
Please note that the BIG-IP is not the termination of the SSL connection. the servers are..( so HTTPS encryption/decryption will happen on the pool members.) SSL keys/certificates are all installed on the pool members.
pool Portal_443 members:
10.8.52.244:443
10.8.52.245:443
10.8.52.246:443
pool Portal_m_443 member:
10.8.52.244:443
Does anybody know why it is not working ??
is it because the BIG-IP is not the SSL termination ??
please advise.
Sakolan
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