请教一个apache Rewrite匹配规则
我想把 xxx.abc.com 自动跳转到xxx.blog.abc.com,请问该如何写匹配规则?
rewriteEngine on
RewriteCond **********
RewriteRule ****************** [L]
非常感谢!
------解决方案--------------------
刚学习这个 试试 RewriteRule (.*)\.abc\.(.*) $1\.blog\.abc\.$2
------解决方案--------------------
Apache的Rewrite配置里,有一个 [P] 标志,可以去查阅下
Nginx中使用proxy_pass