修改Apache配置文件,启用Proxy模块;

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so

虚拟主机部分

  ServerAdmin xxx@xx.com.cn
  DocumentRoot D:/web/www.xx.com
  DirectoryIndex index.htm index.html
  ServerName www.xx.com

  ProxyPass / http://www.xx.com:81/               #添加这两行转到iis的81端口即可
  ProxyPassReverse / http://www.xx.com:81/        #添加这两行

  ErrorLog logs/xx-error_log
  CustomLog logs/xxx.access_log common

, ,