Options +FollowSymlinks #requirephp 52 AddHandler application/x-httpd-php52 .php RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteRule ^js\/fckeditor\/fckconfig\.js$ js/fckconfig.js [L] RewriteRule ^js\/fckeditor\/fckstyles\.xml$ js/fckstyles.xml [L] RewriteRule ^js\/fckeditor\/fckconfig-flash\.js$ js/fckconfig-flash.js [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)\.merge\.(css|js)$ _lib/merge.php?file=$1.merge.$2 [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php [QSA] DirectoryIndex index.php