Forum Discussion
Feb 05, 2010
One Vs for Redirects
This should be an easy one..
I want to use one VS for a bunch of redirects, a catch all of sorts.. If for some reason this is a bad idea just let me know.
The redirect on...
Mar 03, 2010
Sweet, working like a charm!
Just a few quick questions;
- in the set statment, $host will only get created if there is a match, correct?
-You're also setting the hosts url to all lower case with "string tolower [HTTP::host]", correct?
-what is the " " for after you call the my_hosts_class datagroup?
-I see you used a "ne" for the compare, it's supposed to be faster than an eq?
-When you say "if {$host ne ""}{ " you're saying if $host has any value continue and redirct to $host which now contains the value after the space in the line it matched, correct?
-why do you need the [HTTP::uri] after the $host in the redirect?
Thanks man, sorry for all the questions, I really appreciate the help, just want to make sure I understand it..
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
