摘要: 需求:gtod转到https,其他使用http。所有的访问最后都转到192.168.100.116:8090httpd.confRewriteEngine onRewriteRule ^/gtod/(.*)$ https://192.168.100.116/gtod/$1 [L,R] //把到gtod的请求转到https。flag使用R用于redirect。RewriteRule ^/(.*)$ http://192.168.100.116:8090/$1 [P] //把其他的请求转到8090,这行和下一行实现的是一样的功能。注意,使用RewriteRule时需要把/后面的也匹配上。使用Pro 阅读全文
posted @ 2012-12-18 14:15 酱油猫 阅读(311) 评论(0) 推荐(1) 编辑