Forum Discussion
f5beginner
Cirrostratus
Jun 24, 2019Error logs TCL script HTTP:host
Hello, I´m using this irule: when HTTP_REQUEST {
# Check if the host starts with www.
if {[string tolower [HTTP::host]] starts_with "www."}{
# Redirect with the www. prefix removed to the same UR...
f5beginner
Cirrostratus
Jun 24, 2019Hi Guys,
@Niels van Sluis, thank you for answer, I have deleted comments, but it does not help.
@Kai Wilke, thanks for answer, for virtual server there is used one irule, but in policies there I have defined another tcl rules: Redirect to location 'tcl:https://[getfield [HTTP::host] : 1][HTTP::uri]' at request time, so I guess, this could be reason of error logs, is there any way to change priority of irule ?
Thank you
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