谁帮我写一下这个简单的重定向
现在是这样子
http://192.168.100.1:8090/aaa
指向
http://192.168.100.200/aaa
就是客户访问
http://192.168.100.1:8090/aaa
实际是访问
http://192.168.100.200/aaa
谢谢了,最好是客户的浏览器上面显示的是原来,谢谢了
[解决办法]
就是客户访问
http://192.168.100.1:8090/aaa
实际是访问
http://192.168.100.200/aaa
Listen 8090
<VirtualHost *:8090>
<Directory /var/www/htdocs>
RewriteEngine On
RewriteRule ^aaa$ http://192.168.100.200/aaa [P,QSA,L]
</Directory>
</VirtualHost>