Forum Discussion
NewTOF501_15047
Nimbostratus
Jul 07, 2014irule to check domain and redirect is not working
when HTTP_REQUEST {
if { [HTTP::host] equals "www.data.gov.bh" } { HTTP::uri [string map -nocase {"/" "/wps/portal/data/"} [HTTP::uri]] }
elseif { [HTTP::host] equals"www.biciactions.bh" } {HTTP::red...
nitass
Employee
Jul 07, 2014thanks i tried below but it does not works
[root@centos1 ~] curl -I http://www.data.gov.bh
HTTP/1.0 302 Found
Location: http://www.data.gov.bh/wps/portal/data
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
[root@centos1 ~] curl -I http://www.fsupport.gov.bh
HTTP/1.0 302 Found
Location: http://www.fsupport.gov.bh/wps/portal/fsupport
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
[root@centos1 ~] curl -I http://www.biciactions.bh
HTTP/1.0 302 Found
Location: http://www.biciactions.bh/wps/portal/BICI
Server: BigIP
Connection: Keep-Alive
Content-Length: 0
have you ever used http analyzer tool? it may be helpful.
HttpFox
https://addons.mozilla.org/en-US/firefox/addon/httpfox/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