php_value default_charset utf-8
AddDefaultCharset UTF-8

php_value session.use_cookies 1
php_value session.use_only_cookies 1
php_value session.use_trans_sid 1
php_value arg_separator.output "&amp;"

Options -Indexes

# отключаем показ ошибок
php_value display_errors 0

php_value register_globals 0
php_value session.use_trans_sid 1
php_value magic_quotes_gpc 0
php_value magic_quotes_runtime 0
php_value magic_quotes_sybase 0 
php_value allow_url_fopen 0
php_value arg_separator.output "&amp;"
ErrorDocument 404 /index.php
ErrorDocument 400 /index.php


AddType text/vnd.sun.j2me.app-descriptor .jad
AddType text/vnd.sun.j2me.app-descriptor .db
AddType application/java-archive .jar
AddType image/vnd.wap.wbmp .wbmp
AddType application/vnd.eri.thm .thm
AddType application/vnd.mophun.application .mpn
AddType application/vnd.mophun.certificate .mpc
Addtype text/x-vmel .mel
Addtype audio/imelody .imy
AddType application/vnd.smaf .mmf
Addtype text/x-vmel .emy
AddType audio/amr .amr
AddType audio/x-wav .wav
AddType application/x-tar .hid
Addtype image/jpeg .jpg
Addtype image/jpeg .jpeg
Addtype image/gif .gif
Addtype image/png .png
Addtype image/bmp .bmp
Addtype text/x-imelody .imy
Addtype text/x-emelody .emy
Addtype text/x-vcard .vcf
Addtype text/x-vcalendar .vcs
Addtype text/calendar .ics
Addtype application/smil .smil
Addtype application/smil .smi
Addtype application/vnd.symbian.install .sis
Addtype audio/wav .wav
Addtype audio/midi .midi
Addtype audio/midi .mid
Addtype audio/rmf .rmf
Addtype application/vnd.wap.mms-message .mms
AddType video/flv .flv
AddType video/mp4 .mp4
Addtype video/3gpp .3gp
Addtype application/zip .zip
Addtype audio/mpeg .mp3
RewriteEngine On

RewriteRule ^files/([0-9]+)/$ file.php?id=$1 [QSA,NC]

RewriteRule ^list([0-9]+)$ list.php?id=$1 [QSA,NC]
RewriteRule ^3D_Java([0-9]+)$ 3dkat.php?id=$1 [QSA,NC]
 RewriteRule ^BT_Java([0-9]+)$ btkat.php?id=$1 [QSA,NC]

RewriteRule ^komments([0-9]+)_page([A-Za-z0-9_-]+)$ komm.php?id=$1&page=$2 [QSA,NC]

 RewriteRule ^Addkomm([0-9]+)$ addcom.php?id=$1 [QSA,NC]