File size: 598B
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)/([^/]*)$ index.php?id=$1&f=$2 [L,QSA]
RewriteRule ^(.*)/$ index.php?id=$1 [L,QSA]
</IfModule>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
ErrorDocument 404 /error.php
ErrorDocument 403 /error.php
ErrorDocument 500 /error.php
php_value default_mimetype text/html
php_flag magic_quotes_gpc Off
php_flag magic_quotes_runtime Off
php_flag magic_quotes_sybase Off
php_flag register_argc_argv Off
php_value session.auto_start 1
Options -Indexes
AddDefaultCharset UTF-8