VirtualHost
#RewriteEngine On
#RewriteRule ^/jhf_jm_web/(.*) https://xxxx-net.jp [R,L]
ServerName xxxx-net.jp
ServerAlias dev.xxxxx-net.jp yyyy-net.intranet
ErrorLog logs/xxxxx-net.jp-error_log
CustomLog "|/usr/local/apache22/bin/rotatelogs /usr/local/apache22/logs/xxxxx-net.jp.%Y%m%d 86400 540" combined
DocumentRoot /usr/local/apache22/htdocs/jhf_jm_web
<Directory /usr/local/apache22/htdocs/jhf_jm_web>
Options FollowSymlinks
Order allow,deny
Allow from all
</Directory>
ProxyPass /flash !
ProxyPass /css !
ProxyPass /images !
ProxyPass /img !
ProxyPass /lib !
ProxyPass /extension !
ProxyPass / balancer://sptboard/ stickysession=JSESSIONID lbmethod=byrequests maxattempts=1
<Proxy
BalancerMember ajp://10.102.30.121:8009 smax=2048 timeout=200 ttl=200
BalancerMember ajp://10.102.30.122:8009 smax=2048 timeout=200 ttl=200
BalancerMember ajp://10.102.30.123:8009 smax=2048 timeout=200 ttl=200
BalancerMember ajp://10.102.30.124:8009 smax=2048 timeout=200 ttl=200
BalancerMember ajp://10.102.30.125:8009 smax=2048 timeout=200 ttl=200
</Proxy>
</VirtualHost>
评论