装一个ISAPI Rewrite 下载地址 http://www.isapirewrite.com/ 1.Installl ISAPI Rewrite Visit http://www.isapirewrite.com/ and download the trial version of the ISAPI Rewrite plugin. · Direct download is http://www.isapirewrite.com/download/isapi_rwf_x86_0060.msi · Launch the installation program and accept all of the default settings. · You will be prompted to restart IIS and you should allow this. · If you experience trouble with the installation, you’ll need to refer to the 2.developers of this product. Fixing the ISAPIRewrite association issue After installing, it may be necessary to “fix” the association of this filter. · Open a command prompt · Navigate to C:\Program Files\Helicon\ISAPI_Rewrite · Launch the ProxyCfg.vbs script o Proxycfg.vbs –r or cscript proxycfg.vbs –r
· Restart IIS
3.Configure ISAPI Rewrite The last step is to modfy the httpd.ini file which resides in C:\Program Files\Helicon\ISAPI_Rewrite Add this line to the bottom of the file. # Proxy requests to Apache on 8080. # FOR TEST APPLICATION RewriteProxy /test(.*) http\://localhost:8080/testweb$1 [I,U] Save the file. You should not need to restart IIS.