Forum Discussion
Dave_Wu_20200
Nimbostratus
Oct 24, 2011Removing Dot from URL
Hi Guys,
I am new in iRule and would need help on the following.
is accessable even by keying in
Is there anyway to remove the . statically?
Thanks
- nitass
Employee
can you try this?when HTTP_REQUEST { if {[HTTP::host] ends_with "."} { HTTP::redirect "http://[string trimright [HTTP::host] "."][HTTP::uri]" } }
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