mwstewart Posted March 20, 2009 Share Posted March 20, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/150300-and/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.