Forum Discussion
Albert__Tase_70
Nimbostratus
Jan 03, 2007ok here it is again now all but the last part is excepted
when HTTP_REQUEST {
set host [string tolower [HTTP::host]]
set ua [string tolower [HTTP::header "User-Agent"]]
set uri [HTTP::uri]
if { ($host contains "demo.nature.com") || ...
Albert__Tase_70
Nimbostratus
Jan 03, 2007the above rule works except for the last part the rule you posted gives me syntx errors if I remove the following the rule works:
elseif { [HTTP::host] equals "www.nature.com" && [HTTP::uri] starts_with "/rss/" && [HTTP::uri] ends_with "/index.html" }
{HTTP::redirect "http://www.nature.com/webfeeds/index.html" } }}}
unfortnately I need the last piece above to work also so please can someone tell me how to resolve the last errors which has to due with the above.
thanks
AL Tase
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