win服务器先安装hlicon插件,在网站的ISAPI筛选器里添加这两项
然后在网站根目录配置htaccess文件,写入伪静态规则
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>