apache代理IIS

  SetEnv force-proxy-request-1.0.1
  SetEnv proxy-nokeepalive 1

有区分大小写,避免拒绝访问

<VirtualHost *:80>
  ServerName localhost
  ServerAlias localhost
  DocumentRoot "${INSTALL_DIR}/www"

  SetEnv force-proxy-request-1.0.1
  SetEnv proxy-nokeepalive 1

  ProxyRequests off
  ProxyPreserveHost on

  ProxyPass /ZhuoYang/  http://localhost:8800/ZhuoYang/
  ProxyPassReverse /ZhuoYang/  http://localhost:8800/ZhuoYang/
  ProxyPass /Zhuoyang/  http://localhost:8800/ZhuoYang/
  ProxyPassReverse /Zhuoyang/  http://localhost:8800/ZhuoYang/

  <Directory "${INSTALL_DIR}/www/">
    Options -Indexes +Includes +FollowSymLinks +MultiViews
    AllowOverride All
    Require all granted
  </Directory>
</VirtualHost>
原文地址:https://www.cnblogs.com/CoreXin/p/15544203.html