mod_rewrite “too many redirects” problem
问题 Trying, <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule .* - [F] RewriteCond %{HTTP_HOST} ^(.*)dev\.example\.edu$ [NC] RewriteRule ^/test(.*)$ http://dev.example.edu/test/index.php/test$1 [NC] </IfModule> on an apache 2.2 server, to get this rewrite working to hide the "index.php/test" part of the path. everything i've tried either loops the url part (index.php/test) within the address bar or gives a "too many redirects" error. i suspect that the