Forum Discussion
Naumin_Dave_144
Nimbostratus
Jan 26, 2015Issue with http redirection in version 11.5.1(previously working with http class profiles in version 11.3)
Hi All,
we have some applications which need to be redirected to the servers meaning only works if uri is been added i.e. abc.com ---> abc.com/xyz/tmz/qpd.apex. So for that we used http class re...
StephanManthey
Nacreous
Jan 27, 2015You can add a log statement to validate incoming requests or use a browser plugin (maybe your browser cache just needs to be cleared?):
when HTTP_REQUEST {
log local0. "request received <[HTTP::method]> <[HTTP::uri]> <[HTTP::version]>"
if { ! ([string tolower [HTTP::uri] starts_with /snortreport-1.3.4/) } {
HTTP::redirect "https://172.27.95.203/snortreport-1.3.4/"
}
}
With the following command you can track new log messages:
tail -f /var/log/ltm
PS: The iRule above requires to have a default pool assigned to the virtual server in the resource section.
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