Forum Discussion
slackwaresuppor
Nimbostratus
Jun 09, 2008exceptions to redirects
can anyone help with this..
its not working
my code
class noSSL {
myutil
util_forum
}
when HTTP_REQUEST {
if { [...
slackwaresuppor
Nimbostratus
Jun 10, 2008ok.. so ive come to this
http profile:
when HTTP_REQUEST {
if { [HTTP::uri] ends_with "myjuiceplus" || [HTTP::uri] ends_with "juiceplus_forum" } {
HTTP::redirect http://[HTTP::host][HTTP::uri]
}
else {
HTTP::redirect https://[HTTP::host][HTTP::uri]
}
}
ssl profile:
when HTTP_REQUEST {
if { [HTTP::uri] ends_with "myjuiceplus" || [HTTP::uri] ends_with "juiceplus_forum" } {
HTTP::redirect http://[HTTP::host][HTTP::uri]
}
}
and it kinda works.. when i hit the ssl page and navigate to the page that ends with myjuiceplus or juiceplus_forum, it forwards to http
but the page says
The page isn't redirecting properly
any ideas??
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