title: Weblogic-Apache Bridge
body: <p>I already have a set-up in my production environment and just trying to understand how exactly this works? Please help me understand ,</p>
  
  <p>Set-up :</p>
  
  <p>We have 2 diff kinda set-up. ie, the url <a href="https://ddd.myserver.net:111/ABC" rel="nofollow">https://ddd.myserver.net:111/ABC</a> and <a href="https://ddd.myserver.net:222/" rel="nofollow">https://ddd.myserver.net:222/</a> . Apache server (ddd.myserver.net)is configured with Listen port 111 to service application ABC and the same server is configured with Listen port 222 to serve application XYZ.
  i.e,  <a href="https://ddd.myserver.net:111/ABC" rel="nofollow">https://ddd.myserver.net:111/ABC</a> - Is mapped to the application ABC thats deployed on Weblogic Server.
  and <a href="https://ddd.myserver.net:222/" rel="nofollow">https://ddd.myserver.net:222/</a> - Is mapped to the application XYZ thats deployed on the same Weblogic Server.</p>
  
  <p>Now my question is, the former link (<a href="https://ddd.myserver.net:111/ABC" rel="nofollow">https://ddd.myserver.net:111/ABC</a>) works fine only if the context root(ABC) is appended to the url. IF i try as <a href="https://ddd.myserver.net:111/" rel="nofollow">https://ddd.myserver.net:111/</a> then the apache_wl.log mentions that there s no page found.<br>
  ie.,<br>
  <strong>URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]<br>
       URL::parseHeaders: StatusLine set to [404 Not Found]</strong>  </p>
  
  <p>But then the second one (<a href="https://ddd.myserver.net:222/" rel="nofollow">https://ddd.myserver.net:222/</a>) just works fine without even mentioning the context root in the url.</p>
  
  <p>Now All I need to know is, how and where is this config likely to be set? Where in the link works without even mentioning the context root?</p>
  
  <p>Thanks.</p>
  
  <p><strong>[UPDATE]</strong><br>
  I have already looked at the httpd.conf and ssl.conf but couldn't really make out where this has been configured. </p>
  
  <p><strong>[UPDATE 2]</strong><br>
  Here's the important code snippet, if you require any specific config property pls let me know.<br>
  <strong>httpd.conf</strong></p>
  
  <pre><code>Include conf.d/ssl.conf
  UseCanonicalName Off
  DocumentRoot "C:/Test/WS/ABC/ABC"
  Alias /ABC "C:/Test/WS/ABC/ABC"
  </code></pre>
  
  <p><strong>ssl.conf</strong></p>
  
  <pre><code>LoadModule ssl_module modules/mod_ssl.so
  Listen 111
  
  
  &lt;VirtualHost *:111&gt;
  
  DocumentRoot "C:/Test/WS/ABC/ABC"
  ServerName ddd.myserver.net
  
  ErrorLog logs/ssl_error_log
  TransferLog logs/ssl_access_log
  LogLevel warn
  
  SSLEngine on
  
  &lt;IfModule mod_weblogic.c&gt;
    WLLogFile logs/abc_wl.log
    Debug OFF
    DebugConfigInfo OFF
    WebLogicCluster test.myserver.net:7001,test.myserver.net:7003,test.myserver.net:7005
    MatchExpression *
  &lt;/IfModule&gt;
  
  &lt;/VirtualHost&gt;
  </code></pre>