# Remove # in the following line if needed #AddHandler php5-fastcgi .php #AddDefaultCharset UTF-8 Options +FollowSymlinks Options All -Indexes # Turn on URL rewriting RewriteEngine on # Access denied rules (Error:403) RewriteRule ^(_system_|_templates_|_html_) - [F,L] # Do not enable rewriting for files that exist RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # For reuests that are not actual files or directories, # Rewrite to index.php?URL RewriteRule ^(.*)$ index.php?$1 [PT,QSA,L]