Forum Discussion
help with url redirect ltm v10.2.2
Hi All, I am tryin gto do the following and am having fiddiculty getting it to work.
I want a specific URL lets say http://sitea.com to redirect to a specific path on a web-server that is behind a virtual server, so virtualserver.com/tmtrack/tmtrack.dll?shell=srp but I want users that go to http://virtualserver.com to not be redirect to this page. I have an alias in dns to point sitea.com to the virtual server. The irule I tried looks like this
when HTTP_REQUEST {
if { [HTTP::host] equals "serviceportal.intdata.com" }{
HTTP::redirect "http://sbm/tmtrack/tmtrack.dll?shell=srpcatalog"
}
}
Thanks
- natheCirrocumuluspvaughan,
- natheCirrocumulusOops, brace the wrong way round on line 2. Sorry.
- pvaughanNimbostratusThat doesnt seem to work if the irule is in place or not I keep getting redirect to realserver/tmtrack/tmtrack.dll? not virtualserver/tmtrack/tmtrack.dll?shell=srp, its fine if the realserver comes up in the browser I just need it to point to /tmtrack/tmtrack.dll?shell=srp
Recent Discussions
Related Content
* 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