Forum Discussion
Ravi_110217
Nimbostratus
Mar 11, 2008HTTP page redirection request
Hello Guys,
I wonder if someone could help me with following web page redirection rule. I am not much more familiar with F5 product, please help me out with my following request.
I want...
Nicolas_Menant
Employee
Mar 11, 2008Hi,
Here you will redirect any request done on the website www.abc.com.au on this page: www.abc.com.au/abconline/HomePage.aspx
Any request done on the website www.abc.com.au will contain this value in the HTTP host header.
If you want to redirect only when user are typing http://www.abc.com.au in their browser you should try the following:
when HTTP_REQUEST {
if { ([HTTP::host] equals "www.abc.com.au") and ([HTTP::uri] equals "/") } {
HTTP::redirect "http://www.abc.com.au/abconline/HomePage.aspx"}
}
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