regex - htaccess breaks indexs -
this works perfect: ^(.*)$ (lets site.com/login.php work site.com/login) except breaks indexes. can't index file show up, index set same .htaccess file. shows blank page until remove ^(.*)$. thoughts?
rrelated question: htaccess regex 2 periods in file name
^(.*)$ matches anything, nothing. force require @ least 1 character instead.
^(.+)$
Comments
Post a Comment