Forum Discussion
Ravi_110217
Nimbostratus
Mar 11, 2008new HTTP page redirection request
Hello GuYs,
I am wondering if someone could help me out with HTTP page redirection rule... I have tried with couple of rules but none of them worked. See example below that how do I want to redirect web page...
redirect from
www.abc.com.au/presonalcredit to
www.abc.com.au/abconline/99.aspx.
If you could give me an idea that which rule needs to write to get page redirect working.
Hope to hear soon.
Ta,
- The_Bhattman
Nimbostratus
Working of of Joe's example in another post.when HTTP_REQUEST { if { ([HTTP::host] eq "www.abc.com.au") && ([HTTP::uri] eq "/personalcredit") } {HTTP::redirect "http://[HTTP::host]/abconline/99.aspx"} }
- Ravi_110217
Nimbostratus
Hi, - Nicolas_Menant
Employee
Hi, - Ravi_110217
Nimbostratus
Hi , - Ravi_110217
Nimbostratus
HI, - The_Bhattman
Nimbostratus
The irule needs to be assocated to the VIP that is responsible for handling the www.abc.com.au traffic.when HTTP_REQUEST { log local0. "uri is [HTTP::uri]" log local0. "host is [HTTP::host]" if { ([HTTP::host] eq "www.abc.com.au") && ([HTTP::uri] eq "/personalcredit") } { log local0. "redirecting user..." HTTP::redirect "http://[HTTP::host]/abconline/99.aspx" } }
- Ravi_110217
Nimbostratus
HI, - The_Bhattman
Nimbostratus
You would apply this irule under virtual server >> Resources and select manage and add teh irule. Can you also tell us if you are getting ANY output from the ltm logs? - Ravi_110217
Nimbostratus
Hi, - Ravi_110217
Nimbostratus
Is there any other rule that I can try with ? If you know something , please let me know.
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