Forum Discussion
Ken_Cottrell
May 17, 2011Nimbostratus
Multiple redirect/respond directives not allowed in logs
The rule is supposed to only fire on root "/" requests. It is supposed to not fire on user agent string matches defined in a search engine class list, but it should fire on user agent string matches d...
Ken_Cottrell
May 17, 2011Nimbostratus
Yes there is another iRule prior to the mobile site iRule which redirects short name to full name shown below:
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
site.com {
HTTP::respond 301 Location "http://www.site.com[HTTP::uri]"
}
site2.com {
HTTP::respond 301 Location "http://www.site2.com[HTTP::uri]"
}
}
}
This is the most recent log entry for this issue:
Tue May 17 04:25:41 CDT 2011 err local/tmm tmm[4712] 01220001 TCL error: redirect-mobile-site - Operation not supported. Multiple redirect/respond invocations not allowed (line 4) invoked from within "HTTP::redirect http://mobile.site.com/mobile/index.jsp "
Thank you both for the quick response.
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