嗨,当我试图在IIS mod_rewrite中转换这个文件时,我得到了这些错误。
此指令未被转换,因为IIS不支持它: RewriteBase /php-login/
和
不支持条件模式:-l
Options -MultiViews
RewriteEngine On
RewriteBase /php-login/
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]这里是XML视图中的错误,请看一下错误。
<rewrite>
<!--This directive was not converted because it is not supported by IIS: RewriteBase /php-login/.-->
<rules>
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.+)$" ignoreCase="false" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
<!--The condition pattern is not supported: -l.-->
</conditions>
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>发布于 2014-12-17 07:44:30
因此,所讨论的特性可能不受IIS的支持,您要么不需要它们,要么想出如何用支持的任何东西替换它们。你可能想要相应地重新表述你的问题。- SVD 3月19日22时17分
https://stackoverflow.com/questions/22518886
复制相似问题