thinkphp IIS伪静态规则怎么写?
thinkphp吧
全部回复
仅看楼主
level 3
大黔吧🐾 楼主
伪静态前:域名/index.php/About/index/id/18
伪静态后:域名/About/index/id/18
实现这个过程如何写规则去掉index.php?
2013年03月28日 09点03分 1
level 11
如果是apache的话可以用这个规则
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
2013年03月29日 06点03分 2
apache会。就IIS测试近一个星期都不成功。
2013年03月29日 14点03分
回复 dem201202 :你做过thinkphp IIS伪静态吗?
2013年03月29日 14点03分
level 10
楼主,解决了嘛???
2014年04月09日 14点04分 3
1