Permalink
Browse files

use a simpler rewrite rule

The capture group isn't used - so don't captuer it
There are no get args in the rewrite rule so there's no need to
request appending the existing get args - they are unmodified.
  • Loading branch information...
1 parent 94db8fb commit 6b66aee138ea728c631d6281f91552d01824eaf8 @AD7six AD7six committed Jul 13, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/webroot/.htaccess
  2. +1 −1 lib/Cake/Console/Templates/skel/webroot/.htaccess
View
@@ -2,5 +2,5 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^(.*)$ index.php [QSA,L]
+ RewriteRule ^ index.php [L]
</IfModule>
@@ -2,5 +2,5 @@
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^(.*)$ index.php [QSA,L]
+ RewriteRule ^ index.php [L]
</IfModule>

0 comments on commit 6b66aee

Please sign in to comment.