Apache2.4 设置伪静态 .htaccess
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
RewriteRule ^/(.*)$ /index.php?s=$1
文章已经结束啦
文章版权:Postbird-There I am , in the world more exciting!
本文链接:http://www.ptbird.cn/apache-html-htaccess.html
转载请注明文章原始出处 !
扫描二维码,在手机阅读!