Forum Discussion
together_183451
Nimbostratus
Feb 13, 2015Need help to redirect all url from http to https
when HTTP_REQUEST {
set uri_lower [string tolower [HTTP::uri]]
if { $uri_lower starts_with {/test1}} {pool test1_Pool}
if { $uri_lower starts_with {/test2} {pool test2_Pool}
if { $uri_lower starts_w...
together_183451
Nimbostratus
Feb 14, 2015Hi Stephan I configured the same and applied it but was unable to access any uri...
- StephanMantheyFeb 14, 2015
Nacreous
Hi together, which one did you try? You can make a copy of the F5 built-in irule and add a log statement: log local0. "request: host: <[HTTP::host]>, uri: [HTTP::uri], path: <[HTTP::path]>, query <[HTTP::query]>" Monitor the log file for messages now: tail -f /var/log/ltm Thanks, Stephan - Brad_ParkerFeb 15, 2015
Cirrus
Shot in the dark, but ensure you have an HTTP profile attached to the VIP otherwise any HTTP event will not work in your iRule.
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