This should work, but doesn’t:
http://modxcms.com/forums/index.php?topic=54236.0
I get an infinite loop.
Apache server, mod_rewrite fine, FURL’s enabled, all fine. Web context is at domain root. Of course all managed by index.php, and ultimately,
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
Marketing manager demands that /index.php rewrites to /, and there hangs the problem.
Here’s an infinite loop:
RewriteCond ^index.php$ / [R=301,L,NC]
even:
RewriteCond %{REQUEST_URI} ^/index.php [R=301,L,NC]
RewriteRule $
http://www.example.com [R=301,L]
I know why it’s impossible (I think) but can’t locate anyone’s previous experiences with this or how they fixed it. Any suggestions?