
RewriteEngine On
RewriteBase /
RewriteRule !\.(js|ico|txt|gif|jpg|png|css|html|gz|zip|java|cs|vb|py)$ index.php
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
