Options -Indexes
ErrorDocument 402 http://gretonger.com
ErrorDocument 403 http://gretonger.com
ErrorDocument 404 http://gretonger.com
ErrorDocument 500 http://gretonger.com

RemoveHandler .phtml .php3 .php4 .php5 .php6 .phps .cgi .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .py
AddType application/x-httpd-php-source .phtml .php3 .php4 .php5 .php6 .phps .cgi .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .py

RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
RewriteRule _(.*)\.html$ /forum/index.php?id=$1 
RewriteRule @(.*) /personal/index.php?user=$1 
rewriterule ^forum/([^-]+)-([^&]+)\.html$ /forum/forum.php?id=$1&tag=$2 [L]
RewriteRule ^user/([0-9]+)-([a-z]+) /users/profile.php?user=$1 [NC]

RewriteCond %{QUERY_STRING} [^a-z](declare|char|set|cast|convert|delete|drop|exec|insert|meta|script|select|truncate)[^a-z] [NC]
