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 02, 2005
If you can provide the logic as to how something is a request for a file, then we can help you out.
If you are specifically looking for dots in the request, you could use the "contains" operator or if you know it will end with a certain extension, you could use the "ends_with" operator as well. There are lots of requests that can return "files" but don't have specific file extensions but that will depend on your application. There are also valid requests that contain dots that are not requests for files...
Knowing your requirements specifically will help building the rule.
-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