Forum Discussion
johns
Employee
Jul 28, 2005Using URI to rewrite host
I am trying to come up with a rule where the first directory name of the uri is used to rewrite the URL. an example will be:
http://www.foo.com/abc/doc/index.html =>
http://abc.foo.com...
johns
Employee
Aug 25, 2005Sorry, mistake on my part on what we are trying to do:
cc71.ddc.com/app1 -> app1.cc71.ddc.com/app1/
cc71.ddc.com/app1/ -> app1.cc71.ddc.com/app1/
cc71.ddc.com/app1/file.extension -> app1.cc71.ddc.com/app1/file.extension
app1.cc71.ddc.com/app1/ -> no change.
app1.cc71.ddc.com/app1/file.extension -> no change.
Also found in the server return that some of the objects are referenced by file name only, so the request is coming from the client as:
cc71.ddc.com/file.extension and now we have to turn that into the same format of app1.cc71.ddc.com/app1/file.extension.
At this point, I am wondering if I will have to have rule for each and every app separately instead of trying to use a generic rule to cover all apps (paths)
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