beber pushed a commit to branch master.
commit 4c2fbb55d5cdb8ef5e63b248bcad3d6e7dc3ff0d
Author: Bertrand Jacquin <[email protected]>
Date: Sat Aug 17 14:22:44 2013 +0200
Remove useless and time consuming RewriteRules
---
public_html/.htaccess | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/public_html/.htaccess b/public_html/.htaccess
index cccc9ff..98f365f 100644
--- a/public_html/.htaccess
+++ b/public_html/.htaccess
@@ -2,15 +2,6 @@ Options FollowSymLinks
RewriteEngine On
-# we skip all files with .something
-RewriteCond %{REQUEST_URI} \..+$
-RewriteCond %{REQUEST_URI} !\.html$
-RewriteRule .* - [L]
-
-# we check if the .html version is here (caching)
-RewriteRule ^$ index.html [QSA]
-RewriteRule ^([^.]+)$ $1.html [QSA]
+# redirect any non existant file to main page
RewriteCond %{REQUEST_FILENAME} !-f
-
-# no, so we redirect to our front web controller
RewriteRule ^(.*)$ index.php [QSA,L]
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk