LoadModule weblogic_module modules/mod_wl_20.so 之後還要做什麼?
Cluster 與單機同理
-----
<IfModule mod_weblogic.c>
#修改後端服務器組IP與端口,用“,”分隔
WebLogicCluster 202.102.1.2:7001,202.102.1.3:7001,202.102.1.4:7001
MatchExpression *.jsp
MatchExpression *.html
# MatchExpression *.*
MatchExpression *
WebLogicCluster 202.102.1.2:7001,202.102.1.3:7001,202.102.1.4:7001
MatchExpression *.jsp
MatchExpression *.html
# MatchExpression *.*
MatchExpression *
</IfModule>
-----
LoadModule weblogic_module modules/mod_wl_20.so
LoadModule rewrite_module modules/mod_rewrite.so
<VirtualHost *>
#ServerName need modify
ServerName localhost
#DocumentRoot /www/otherdomain
RewriteEngine on
#根據需要確定是否打開rewrite日誌
#RewriteLog "C:\Program Files\Apache Group\Apache2\logs\rewrite.log"
#RewriteLogLevel 3
##設置默認首頁
#RewriteRule ^/$ /index.html [R]
RewriteRule ^/$ /login/login.jsp [R]
#
#
<IfModule mod_weblogic.c>
WebLogicHost 192.168.1.14
WeblogicPort 9003
MatchExpression *.jsp
MatchExpression *.html
# MatchExpression *.*
MatchExpression *
</IfModule>
</VirtualHost>
LoadModule rewrite_module modules/mod_rewrite.so
<VirtualHost *>
#ServerName need modify
ServerName localhost
#DocumentRoot /www/otherdomain
RewriteEngine on
#根據需要確定是否打開rewrite日誌
#RewriteLog "C:\Program Files\Apache Group\Apache2\logs\rewrite.log"
#RewriteLogLevel 3
##設置默認首頁
#RewriteRule ^/$ /index.html [R]
RewriteRule ^/$ /login/login.jsp [R]
#
#
<IfModule mod_weblogic.c>
WebLogicHost 192.168.1.14
WeblogicPort 9003
MatchExpression *.jsp
MatchExpression *.html
# MatchExpression *.*
MatchExpression *
</IfModule>
</VirtualHost>