1   # Uncomment line below if FollowSymLinks option is not enabled by default in server configuration
  2   #Options +FollowSymLinks
  3   RewriteEngine On
  4  
  5   #RewriteBase /
  6   RewriteCond %{REQUEST_FILENAME} !-f
  7   RewriteCond %{REQUEST_FILENAME}/ !-f
  8   RewriteCond %{REQUEST_FILENAME}/index.php !-f
  9   RewriteCond %{REQUEST_FILENAME}/index.html !-f
  10   RewriteCond %{REQUEST_URI} !\.(gif|jpg|png|js|css|ico|swf)$ [NC]
  11   RewriteRule ^(.*) index.php?rewrite=on&_mod_rw_url_=$1 [QSA]
  12  
  13   <Files ~ "\.(tpl|tpl.xml|inc.php|sql|lang|txt)$">
  14     order allow,deny
  15     deny from all
  16   </Files>