您可以在IIS重写规则中使用哪些输入类型?我的意思如下:
<conditions> <add input="{HTTP_HOST}" type=”Pattern” pattern="^www\.mysite\.com$" negate="true"> </conditions>
> HTTP_HOST
> URL
> REQUEST_FILENAME
>?
解决方法
您可以尝试以下输入类型.有关URL Rewrite模块的信息,另请参阅
reference docs.
> CACHE_URL> DOCUMENT_ROOT> HTTP_URL> HTTP_HOST> PATH_INFO> PATH_TRANSLATED> QUERY_STRING> REQUEST_FILENAME> REQUEST_URI> SCRIPT_FILENAME> SCRIPT_NAME> SCRIPT_TRANSLATED> UNENCODED_URL> URL> URL_PATH_INFO> APP_POOL_ID> APPL_MD_PATH> APPL_PHYSICAL_PATH> GATEWAY_INTERFACE> SERVER_SOFTWARE> SSI_EXEC_DISABLED> SERVER_NAME