i'm trying to allow my website to use a http://ourdomain.com/fname.lname/ format. i am fairly certain my regex syntax is correct. here's what i have:
the weird thing is i can get the above to work by replacing the rewrite with:
RewriteCond %{REQUEST_URI} \/.?\.?.?\/*$ [NC]
(replacing the two "+" with two "?")
unfortunately, i have no interest in using the http://www.ourdomain.com/f.n/ format
anybody have any clue why this is happening?
Code:
<IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_URI} \/.+\.?.+\/*$ [NC] RewriteRule ^(.*)$ /index.php?path=$1 [L,QSA] </IfModule>
RewriteCond %{REQUEST_URI} \/.?\.?.?\/*$ [NC]
(replacing the two "+" with two "?")
unfortunately, i have no interest in using the http://www.ourdomain.com/f.n/ format
anybody have any clue why this is happening?
Comment