关于apache2.0 与apache2.2 RewriteRule的设置
高手们好!我现在碰到个很奇怪的问题如下,望指教:
code=Java]NameVirtualHost *:80
<VirtualHost *:80>
ServerName 192.168.2.142
RewriteEngine On
RewriteCond %{SERVER_PORT} =80
RewriteRule ^/$ /basic/ [R]
RewriteRule ^/basic/framework/ums/premain.xhtml$ https://192.168.2.142:8083/basic/framework/ums/main.jsp [L]
RewriteRule ^/basic/framework/ums/main.jsp$ https://192.168.2.142:8083/basic/framework/ums/main.jsp [L]
ProxyPass /basic http://192.168.2.142:8090/basic/
ProxyPassReverse /basic http://192.168.2.142:8090/basic/
</VirtualHost>[[/code]
上边的虚拟主机 在apache2.2上 RewriteRule ^/basic/framework/ums/premain.xhtml$ 可以捕捉到
但移植到apache2.0上 却无法匹配 导致无法转为https连接
这是怎么回事呢?盼高手答复
PS:经测试 ssl rewrite模块都没有问题