Forum Discussion

Andr__233__1213's avatar
Andr__233__1213
Icon for Nimbostratus rankNimbostratus
Apr 23, 2013

IBM 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

  • 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]"
         }
    }
    
  • 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.