This discussion is archived
2 Replies Latest reply: Oct 29, 2012 8:43 AM by user576183 RSS

mod_wl_ohs intercepts /osso_login_success

user576183 Newbie
Currently Being Moderated

I'm running ofm_webtier_sun_sparc_11. and WLS 10.3.5.

I have a single virtualhost defined in OHS, with a single Location directive requiring SSO protection and handling by WLS.

However, mod_wl_ohs is intercepting the SSO login redirect to /osso_login_success.

Can people please advise how I can have WLS handling all requests to / and also have all requests to / protected by SSO?

Many thanks.

LoadModule osso_module "${ORACLE_HOME}/ohs/modules/"
LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/"

<IfModule osso_module>
OssoIpCheck on
OssoIdleTimeout off

<IfModule weblogic_module>
     DynamicServerList ON
     Debug ON
     WLLogFile /tmp/mod_wl_ohs.log


OssoConfigFile "sites/myserver_osso.conf"

<Location />
     # Turn secure cookies back on when cert received
     OssoSecureCookies Off
     require valid-user
     AuthType Osso
     SetHandler weblogic-handler


Edited by: user576183 on Oct 22, 2012 12:53 PM
  • 1. Re: mod_wl_ohs intercepts /osso_login_success
    Mohammed Rayan-Oracle Journeyer
    Currently Being Moderated
    if I have understood your requirement correctly,Your goal is to accomplish using of mod_wls_ohs to handle requests on / and forward it to the applications deployed orrunning on backend weblogic server.if thats the case,you can try using the LocationMatch and the PathPrepend directives.

    For example:

    <VirtualHost hostname.domainname:9000>
    ServerName yourservername
    #Load the module here for this VirtuaHost:
    LoadModule weblogic_module "${ORACLE_HOME}/ohs/modules/"
    #You can set up one or more Location or LocationMatch, but
    #the following is for the default:
    <LocationMatch /*>
    SetHandler weblogic-handler
    WebLogicCluster localhost:7003,localhost:7005
    #The following tells it what to access on WLS:
    PathPrepend /MyApplication
  • 2. Re: mod_wl_ohs intercepts /osso_login_success
    user576183 Newbie
    Currently Being Moderated
    Thank you.

    Unfortunately, I don't believe this will work.

    I don't want to have to add a new Location directive to the Apache conf each time I deploy a new app to the WLS.

    I want one Location directive for / to be handled by WLS, but I don't want it to intercept the osso_login_success and osso_logout_success URLs.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points