Forum Discussion

Gaurav_Kohli_32's avatar
Gaurav_Kohli_32
Icon for Nimbostratus rankNimbostratus
Apr 14, 2006

Issue during redirect

We are managing a WebLogic cluster with the F5.

 

 

So accessing the http://vs1.domain.com/AppName works fine.

 

 

We added a DNS entry for appname.domain.com to vs1.domain.com and that is ok as well

 

 

Now we wanted to redirect from

 

 

appname.domain.com to appname.domain.com/appName in the F5

 

so we associated an iRule

 

 

intranet rule

 

when HTTP_REQUEST {

 

if {[HTTP::host] equals "appname.domain.com" &&

 

[HTTP::uri] equals "" or [HTTP::uri] equals "/" } {

 

HTTP::redirect "/AppName"

 

}

 

}

 

 

The redirection works fine to the login page of the app but then the application is getting an error upon login.

 

 

Do we need to add additional code to maintain any parameters and such.

 

 

Appreciate any help