IIS6+Win2003 配置反向代理 到 apache 成功


IIS6+Win2003  配置反向代理 到 apache 成功

# Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.73

RewriteEngine On
RewriteCompatibility2 On
RepeatLimit 32
RewriteBase
# unsupported directive: [ISAPI_Rewrite]

# 3600 = 1 hour
# unsupported directive: CacheClockRate 3600


# Block external access to the httpd.ini and httpd.parse.errors files
RewriteRule ^/httpd(?:.ini|.parse.errors).*$ / [NC,F,O]
# Block external access to the Helper ISAPI Extension
RewriteRule ^.*.isrwhlp$ / [NC,F,O]

RewriteCond %{HTTP:Host} ^www.a.com$

#apache域名整个重写

RewriteProxy (.*) http://localhost:8080$1 [I,U] 

#文件夹重写

RewriteProxy ^/aa/(.*) http://localhost:8080 [I,U] 

豫ICP备12024565号-1   E-mail:admin@hlc8.com