Forum Discussion
Andr__233__1213
Nimbostratus
Apr 23, 2013IBM Lotus Traveler - All requests coming in on /* should be presented to /servlet/traveler.
Hello,
I need to do a rewrite on IBM Lotus traveler application. (http/https)
All requests coming in on /* should be presented to /servlet/traveler.
Previously Microsoft ISA has been used with external path: /* to internal path /servlet/traveler/*
I have created the following I rule, but the mobile phones are not syncing without me changing the server address on the phone to include /servlet/traveler/ witch is not an option...
when HTTP_REQUEST {
if { [HTTP::host] equals "mobile.company.com"} {
if {[HTTP::uri] == "/"}{
HTTP::uri "/servlet/traveler"
}
}
}
2 Replies
- Kevin_Stewart
Employee
How about something like this:when HTTP_REQUEST { if { ( [string tolower [HTTP::host]] equals "mobile.company.com" ) and not ( [string tolower [HTTP::uri]] starts_with "/servlet/traveler" ) } { HTTP::uri "/servlet/traveler[HTTP::uri]" } } - Andr__233__1213
Nimbostratus
Thank you very much for the help Kevin, have done some brief testing, and it looks good.
Will do some more testing tomorrow, before setting this solution into production.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
