Browse Source

Update the .htaccess files to increase
compatibility with shared hosting servers.
Fixes #2010

mark_story 14 years ago
parent
commit
e07256b6d4
2 changed files with 4 additions and 4 deletions
  1. 2 2
      app/webroot/.htaccess
  2. 2 2
      lib/Cake/Console/Templates/skel/webroot/.htaccess

+ 2 - 2
app/webroot/.htaccess

@@ -2,5 +2,5 @@
     RewriteEngine On
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteCond %{REQUEST_FILENAME} !-f
-    RewriteRule ^(.*)$ index.php/$1 [QSA,L]
-</IfModule>
+    RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
+</IfModule>

+ 2 - 2
lib/Cake/Console/Templates/skel/webroot/.htaccess

@@ -2,5 +2,5 @@
     RewriteEngine On
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteCond %{REQUEST_FILENAME} !-f
-    RewriteRule ^(.*)$ index.php/$1 [QSA,L]
-</IfModule>
+    RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
+</IfModule>