1 # Turn on URL rewriting
4 # Installation directory
7 # Protect application and system files from being viewed
8 RewriteRule ^(application|modules|system) - [F,L]
10 # Allow any files or directories that exist to be displayed directly
11 RewriteCond %{REQUEST_FILENAME} !-f
12 RewriteCond %{REQUEST_FILENAME} !-d
14 # Rewrite all other URLs to index.php/URL
15 RewriteRule .* index.php/$0 [PT,L]