thinkphp5之配置tp5重写伪静态
原访问方式1,添加本地虚拟主机2,tp5重写伪静态2.1,打开httped.conf,修改mod_rewrite.so2.2,在static下的.htaccess 创建规则<IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ in