Apache Mod Rewrite with Periods in URL
- by Ben Althauser
Ok,
so I am using (or trying to use) two primary mod_rewrite rules, and they seem to be conflicting with one another
RewriteRule ^/?help$ index.php?page=help [L]
and
RewriteRule ^/?([a-zA-Z0-9._-]+)$ index.php?user=$1 [L]
If I get rid of the period -. in the second rule, my help page is displayed, and I can display a user page as well, but when I add the period, my help page doesn't display, but instead (I think) gets processed as a user page.
Anyone have any pointers?