Apache WebServer에서 웹로직 플러그인을 이용하여 virtual host를 할 때에 edocs의 내용대로 하면 안될 경우가 있습니다. 

아래의 옵션을 이용하여 테스트 하면 잘 될겁니다

LoadModule weblogic_module    modules/mod_wl_22.so

<VirtualHost *:80>
    DocumentRoot "/usr/local/apache224/htdocs"
    ServerName test1.javapattern.info:80
    <IfModule mod_weblogic.c>
        MatchExpression *.jsp
        WebLogicCluster 121.131.29.177:7002,121.131.29.177:7003
        ConnectTimeoutSecs 10
        WLLogFile   /tmp/global_proxy.log
        WLTempDir   "/tmp"
        DebugConfigInfo       On
        DynamicServerList      Off
        KeepAliveEnabled ON
        KeepAliveSecs  15
        ErrorPage /sorry.html
    </IfModule>
    <Location /hangup>
        SetHandler weblogic-handler
        WebLogicCluster 121.131.29.177:7002,121.131.29.177:7003
#        PathTrim /
        ErrorPage /sorry.html
    </Location>
</VirtualHost>


<VirtualHost *:80>
    DocumentRoot "/usr/local/apache224/htdocs2"
    ServerName test2.javapattern.info:80
    <IfModule mod_weblogic.c>
#        WebLogicCluster 121.131.29.177:7003
        WebLogicCluster 121.131.29.177:7004
        MatchExpression *.jsp
        Debug           ON
        WLLogFile   /tmp/global_proxy.log
        WLTempDir   "/tmp"
        ConnectTimeoutSecs 10
        DebugConfigInfo       On
        DynamicServerList      Off
        KeepAliveEnabled ON
        KeepAliveSecs  15
        ErrorPage /sorry.html
    </IfModule>
    <Location /hangup>
#        WebLogicCluster 121.131.29.177:7003
        WebLogicCluster 121.131.29.177:7004
        SetHandler weblogic-handler
        ErrorPage /sorry.html
    </Location>
</VirtualHost>

크리에이티브 커먼즈 라이센스
Creative Commons License
2008/03/12 16:22 2008/03/12 16:22
http://www.javapattern.info/trackback/9
YOUR COMMENT IS THE CRITICAL SUCCESS FACTOR FOR THE QUALITY OF BLOG POST
[로그인][오픈아이디란?]