帮忙把apache rewrite转成isapi rewrite形式,内容很简短的

来源:百度知道 编辑:UC知道 时间:2024/05/26 08:55:05
----------------.htaccess------------------
RewriteEngine On
RewriteBase /

#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>

以上是apache rewrite
请帮忙转成ISAPI rewrite的,能用追加重分,绝不含糊,谢谢了
帮忙转好吧,我看不懂规则的。。。。

没用过,但是这个好像是兼容的吧

http://www.helicontech.com/isapi_rewrite/doc/compatibility.htm

http://www.helicontech.com/isapi_rewrite/

这些Rule不能直接用吗

=============
另外
http://learn.iis.net/page.aspx/470/importing-apache-modrewrite-rules/
这里说了如何转化为IIS的,可能有些偏题了

具体就不讲了,看看http://www.javaeye.com/wiki/problem/5707吧!!

厉害