Forum Discussion
Stacy_Lanier_53
Nimbostratus
Jul 28, 2008301 Redirect
I am trying to throw a URL redirect for a specific UserAgents in a file when a specific URL is entered by the user.
when HTTP_REQUEST {
if { ([matchclass [HTTP::header value User...
Stacy_Lanier_53
Nimbostratus
Jul 28, 2008I am getting the following error now if you might know what's wrong.
line 1: [parse error: missing close-brace] [{
line 2: [command is not valid in the current scope] [if { ([matchclass [string tolower [[HTTP::header value User-Agent]] equals $::user_agents]) and ([string tolower[HTTP::uri]] equals "http://internalurl/www.craigslist.org")} {
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