guo_zi_52 发表于 2012-3-31 15:50:36

关于IIS的httpd.ini的写法(求助)

本帖最后由 guo_zi_52 于 2012-3-31 16:14 编辑

网站使用的是windows2003+IIS服务器,站点的首页是生成了 index.html静态页的,IIS已经配置好默认访问顺序为,index.html,再是index.php,在设置URL重写时,发愁了,所有的指向都会先访问index.php,而不会先访问index.html,我不知道我的httpd.ini哪里些错了,请求大神们指正。
以下是我的httpd.ini代码


RewriteRule /httpd(?:\.ini|\.parse\.errors) /
RewriteCond URL ^/(?!public|upload|html|bbs|ucenter|api|index\.html|templates|bbs|templates_c|data_back|index\.php|robots\.txt|favicon\.ico).*
RewriteRule ^(.*)$ /index.php/$1

页: [1]
查看完整版本: 关于IIS的httpd.ini的写法(求助)