Forum Discussion
How to change https://lalala to https://lalala/somethingelse/file.aspx
Hello, I would like to ask about something. I have successfully configured a VIP on F5 for http (http://lalala) and redirect the traffic to https (https://lalala/somethingelse/file.aspx). But I have problem because when users are going in web browser directly to https://lalala/ they are not going directly to https://lalala/somethingelse/file.aspx. So the question is how to make such change of URI (?) for https via iRule? Or is it possible?
1 Reply
- Lee_Payne_53457
Cirrostratus
There are a couple of ways to do it depending on what you want the users to see, if you don't mind them seeing the true IP I would suggest doing a simple 302 redirect using an iRule, similar to the below:
when HTTP_REQUEST { if { [HTTP::uri] equals "/" }{ HTTP::redirect "https://[HTTP::host]/somethingelse/file.aspx" } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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