Forum Discussion
Tony_Marques_92
Nimbostratus
Mar 12, 2013Append to URL of a Virtual Server
I've created a Virtual Server and when I test it out by going to https://test.com" it pulls up the default web page of the server (e.g. https://test.com/default/app). I am new to iRULES and Tcl there...
nathe
Cirrocumulus
Mar 12, 2013Tony
Try this:
when HTTP_REQUEST {
if { [HTTP::path] equals "/" } {
HTTP::redirect "/prefer/app/"
}
}
PS - what about if you check the connection in fiddler/httpfox, can you see the redirect here?
N
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
