Forum Discussion
Masking URL redirection
Hey crew!, I have read about masking and some of the posts are very old. So I will ask.
when the url is coming in as [http://first-lastname.dev01.www.somesite.com], I will send them off to [https://dev01.www.somesite.com/personal-landing/index.asp?cust=first-lastname] with the irule below.
when HTTP_REQUEST {
set HOST [string tolower [HTTP::host]]
set USER [getfield $HOST "." 1]
set DEV [getfield $HOST "." 2]
HTTP::respond 302 Location "https://$DEV.www.somesite.com/personal-landing/index.asp?cust=$USER" Connection Close
}
can I set a mask to hide the end site so all the user ever see's is [http://first-lastname.dev01.www.somesite.com] till they click something in the site, then I dont care.
Thanks for any info.
1 Reply
- Vijay_E
Cirrus
If possible, avoid using it as it just consume resources on the F5. I think this is something that has to be handled at the application/server level. If you still want to proceed, these are starting points:
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
