Jump to content

Recommended Posts

Hi all,

        I am using a location block to divert traffic to a WebLogic server based on the URL context root:

  <Location /uk>
    SetHandler weblogic-handler
    WebLogicCluster ********
    ConnectTimeoutSecs 10
    ConnectRetrySecs 2
    #HungServerRecoverSecs 300
    WLIOTimeoutSecs 3000
    Idempotent ON
    MaxPostSize -1
    FileCaching OFF
    DebugConfigInfo ON
    KeepAliveEnabled ON
    KeepAliveSecs 30
    StatPath false
    DynamicServerList OFF
    Debug ON
    WLLogFile *****
    WLProxySSL ON
    WLSocketTimeoutSecs 5
    WLTempDir *****
    MaxSkipTime 25
  </Location>

 

However, traffic is sent to the WebLogic server regardless of whether the 'uk' directory exists in my Document Root (and where in the config file the directives are located). I have tried setting a <directory> element, but I understand that <location> is always processed last and is therefore overriding the <directory> each time.

 

  <Directory /uk>
        Order allow,deny
        Allow from all
  </Directory>

 

Sometimes I have files in the 'uk' folder, and if they are present I need them to be served rather than having users sent to the WebLogic server. How do I achieve this?

 

Thanks,

Mark

Link to comment
https://forums.phpfreaks.com/topic/150300-and/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.