Forum Discussion
Redirection irule for https and Rewrite issue
I need help for an irule or a policy,
domain is def.local rewrite there should be rewrite such as /test-web or /Test/?locale=tr redirection only /test-web/updater will work on http all other abc.def.local request should be (https) and /test-web should be rewrite end of the url
for example when clients go to the aa.def.local there should be redirection and rewrite such as
(aaa.def.local/hbys-web/updater) (bbb.def.local/hbys-web) (ccc.def.local/AkRIS/locale-tr)
- Vijay_E
Cirrus
Your question seems a bit vague. If a client makes a request to aa.def.local, which address should the request be redirected to ?
- mplaksin_293271
Nimbostratus
There is a factory redirect irule with F5 Appliance, the name is:_sys_https_redirect The irule redirect http request to https, you have to use it on http virtual server.
 
For the URL modification take a look in https://clouddocs.f5.com/api/irules/HTTP__uri.html
 
- mplaksin_293271
Nimbostratus
There is a factory redirect irule with F5 Appliance, the name is:_sys_https_redirect The irule redirect http request to https, you have to use it on http virtual server.
For the URL modification take a look in https://devcentral.f5.com/wiki/iRules.HTTP__uri.ashx
Edit your comment
- yukselkarapinar
Nimbostratus
Hi, thank you for your response, this work only for redirection http to https. I m trying to make rewrite and redirection at the same time.
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