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 02, 2005Thanks, Joe.
What I am trying to do:
Request from user => BIG-IP rule rewrites
www.site.com/dir1 => dir1.www.site.com/dir1/
www.site.com/dir1/file.htm => www.site.com/dir1/file.htm
www.site.com/dir2/ => dir2.www.site.com/dir2/ able to get this done
Basically, the server needs to receive different host header for each dir path, and if it does not end with slash and it indicates a directory name, I need to append a slash.
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