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


ISAPI_Rewrite3_full.zip

 

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] 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM