Chinaunix
标题:
rewrite端口重定向
[打印本页]
作者:
小木虫子
时间:
2009-05-17 01:29
标题:
rewrite端口重定向
RewriteEngine on
RewriteCond %{SERVER_PORT} !^8080$
RewriteRule ^/(.*)$
http://192.168.0.100:8080/
$1 [L,R=301]
为什么访问
http://192.168.0.100
,不能跳转到
http://192.168.0.100:8080
呢?
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2