开发者

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.

^(.+)$
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜