Forum Discussion
CS_215
Nimbostratus
Feb 12, 2010ReWrite URL again
Need to have the following behavior
person enters in url
http://www.server.com/short/file.htm
F5 pulls html code from
http://www.server.com/abnsg2226635/sh...
The_Bhattman
Nimbostratus
Feb 14, 2010HI CS,
To paraphrase, you want to have the client enter
http://www.server/short/file.htm but w/o changing the URL go to content on he following URL http://www.server.com/abnsg2226635/short/file.htm, where film.htm will be dynamic?
Does that look about right?
If that is the case then the untested code below will look something like
when HTTP_REQUEST {
if {([HTTP::Host] eq "www.server.com") and ([HTTP::uri] starts_with "/short/") } {
[HTTP::uri /abnsg2226635/[HTTP::uri]
}
}
I hope this helps
Bhattman
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
