How to enable mod_rewrite via .htaccess?
<p>I'm going to enable mod_rewrite  (modsecurity ) in Cpanel and here is my htaccess, please advice me how to enable it. </p>

<pre><code>RewriteEngine on
RewriteCond $1 !^(index\.php|images|public|assets|uploads|themes|install|updates|asset|mob|robots\.txt)
RewriteRule ^(.*)$ index.php?/$1 [QSA,L]
&lt;FilesMatch "\.(jpg|jpeg|png|gif|swf|css)$"&gt;
Header set Cache-Control "max-age=604800, public"
&lt;/FilesMatch&gt;
</code></pre>

<p>Thanks in advance </p>