htaccess breaks indexs
This works perfect: 开发者_如何学C^(.*)$
(lets site.com/login.php
work like site.com/login
) except it breaks all indexes. I can't get any index file to show up, even index set by the same .htaccess
file. It just shows a blank page until I remove this ^(.*)$
. Any thoughts?
Rrelated question: htaccess regex with two periods in file name
^(.*)$
matches anything, even nothing. Force it to require at least one character instead.
^(.+)$
精彩评论