当我尝试在我的网站中设置htaccess代码时,我遇到了一个问题
代码:
Options All -Indexes
Options +MultiViews
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ user.php?q=$1
现在,当网址为:www.example.com/john
时,它会显示用户个人资料为www.example.com/user.php?q=john
但是当网址变为www.example.com/blablabla/
时,它会显示已损坏的网页!像这样:
该怎么办?