yushlsky 发表于 2011-8-17 20:48:30

IIS虚拟空间上如何使用伪静态去掉index.php?


RewriteCond $1 !^(index\.php|images|style|robots\.txt|files)
RewriteRule /(.*) /index.php\?/$1

去掉了index.php 但是页面图片css都加载不了了这是为什么?

O(∩_∩)O莔 发表于 2011-8-19 14:40:54

本人也想知道怎么弄

xuan20070am 发表于 2011-8-19 16:01:00

这个应该写的iis的规则吧,你说的这个应该是对apache的…

大乾坤 发表于 2011-9-23 18:38:05

额。。 rewrite把图片等排除掉
页: [1]
查看完整版本: IIS虚拟空间上如何使用伪静态去掉index.php?