<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
这是现在的伪静态规则,然后我想做的是,让访问指定目录也重写到index.php去
RewriteCond %{REQUEST_FILENAME} !-f
这里因为有这行规则,导致访问目录是直接访问的,而不是重写,我要做的就是打破这个规则,但也只限于指定的几个目录
www.xxx.com/xgg/
www.xxx.com/gfs/
比如说这两个路径,我想要这两个能重写到index.php下,请问我该怎么做呢
https://blog.csdn.net/qq1355541448/article/details/46966479?utm_source=blogxgwz2