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...
Aug 10, 2005
Without seeing your iRule there isn't much I can do to help out from here. The best bet you have is to throw in a bunch of log commands and debug from there. At that point you can find where your logic is breaking. If you need to modify response content, there are a couple of entries in the forums about modifying the uri on the inbound request and then modifying the content back to the original uri on the outbound request. Check out my blog for a synopsis of the post (Click here)
-Joe
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