Forum Discussion

Ahsan_2380's avatar
Ahsan_2380
Icon for Nimbostratus rankNimbostratus
Feb 03, 2009

URL Redirection in Business Objects

Hi

 

 

We have a Business Object XI Server.

 

The URL for accessing the BO page is

 

http://:8080/businessobjects/enterprise115.

 

 

We dont want the users to type in the entire URL.We want the page to open only thru hostname which we can register in our DNS server

 

 

This part can be solved using port translation on the VIP.But still the user have to type the extension businessobjects/enterprise115 to get to the page because if he only types the IP,it redirects to the Tomcat Apache page..Tomcat is running at Port8080..

 

 

wat we want is a redirection like this

 

 

VIP --> http://:8080/businessobjects/enterprise115.

 

 

can anyone provide me the irule to do this..

 

 

Thanks

 

Ahsan
  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Hi Ahsan,

    If you want to redirect requests to the root object to "/businessobjects/enterprise115", you can use an iRule like this:

     
     when HTTP_REQUEST { 
      
         Check if path is / 
        if {[HTTP::path] eq "/"}{ 
      
            Redirect to the same hostname and new URI 
           HTTP::redirect "http://[HTTP::host]/businessobjects/enterprise115" 
        } 
     } 
     

    If you want the change to be transparent to the client (ie, not update the address bar), you can rewrite the URI and not redirect the client:

     
     when HTTP_REQUEST { 
      
         Check if path is / 
        if {[HTTP::path] eq "/"}{ 
      
            Rewrite the path 
           HTTP::path "/businessobjects/enterprise115" 
        } 
     } 
     

    Aaron