<VirtualHost www.opendata.com.cn>
ServerName www.opendata.com.cn
RewriteEngine On
ProxyRequests off
RewriteRule ^/(.*) http://localhost:8456/opendata/$1 [P,L]
</VirtualHost>
ServerName www.opendata.com.cn
RewriteEngine On
ProxyRequests off
RewriteRule ^/(.*) http://localhost:8456/opendata/$1 [P,L]
</VirtualHost>
ServerName www.opendata.com.cn //服务器名
RewriteEngine On 重写引擎打开
ProxyRequests off 代理请求关闭
RewriteRule ^/(.*) http://localhost:8456/opendata/$1 [P,L] //重写规则,把/开头的都连接重写为http://localhost:8456/opendata/开头的连接