Here are all of my rewrite rules: (there are no others - this is all of them)
RewriteEngine On
RewriteRule ^$ index.php?action=index
RewriteRule ^([\w]+)$ index.php?action=$1
When I visit:
mysite.com/test
The PHP script index.php is indeed invoked and has $_GET['action'] set to test as expected.
However, when I visit:
mysite.com/index
...the PHP script reports that $_GET is empty. Why does this happen only for index?
/alone will be empty, but/indexwas sending through to$_GETfine – random Mar 4 '11 at 3:05