<VirtualHost *:7005>
ServerName Weixin
<Location />
Order Allow,Deny
Allow from 10.xxx.2xx.1xx
</Location>
DocumentRoot "/etc/httpd/aopweb"
RewriteEngine On
ErrorLog logs/aop-error_log
CustomLog logs/aop-access_log common
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /aop/aopservlet http://1xx.35.xxx.2xx:8000/aop/aopservlet
ProxyPassReverse /aop/aopservlet http://132.35.xxx.2xxx:8000/aop/aopservlet
</VirtualHost>
本文介绍如何通过Apache配置文件实现特定的虚拟主机设置及URL重写规则,并设置了从指定IP地址访问的允许规则。此外,还配置了错误日志和访问日志,以及对外部服务器的具体代理设置。
1143

被折叠的 条评论
为什么被折叠?



