Forum Discussion
plavender_72604
Nimbostratus
May 12, 2010URL rewrites for multiple domains
Hopefully someone can help me out here, scripting is not my strong point and each time I try to search this forum I get an error :-(
I would like to set up the F5 so that multiple sub domain...
hoolio
Cirrostratus
May 13, 2010Hi Peter,
Nice work; that looks like a good start. One small thing: do you want to prepend /aaa or /bbb to all URIs, or just if the requested URI is /?
For the former, you could use something like this:
if {not ([HTTP::path] starts_with "/aaa")}{
HTTP::path "/aaa[HTTP::path]"
}
And for the latter:
if {[HTTP::path] eq "/"}{
HTTP::path "/aaa[HTTP::path]"
}
Aaron
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
