php_value register_globals off
php_value session.use_trans_sid 1
DirectoryIndex index.php
AddDefaultCharset UTF-8
Options -Indexes
php_value session.cookie_lifetime 0
#Options SymLinksIfOwnerMatch

RewriteEngine On

RewriteRule ^foto([0-9]*)/([0-9]*) img.php?size=$1&id=$2

RewriteRule ^([0-9]*)/([0-9]*)/komm/([0-9]*)/ index.php?id_user=$1&id_gallery=$2&id_foto=$3&acth=komm [L,QSA]
RewriteRule ^([0-9]*)/([0-9]*)/([0-9]*)/ index.php?id_user=$1&id_gallery=$2&id_foto=$3&acth=show_foto [L,QSA]
RewriteRule ^([0-9]*)/([0-9]*)/ index.php?id_user=$1&id_gallery=$2&acth=user_gallery [L,QSA]
RewriteRule ^([0-9]*)/ index.php?id_user=$1&acth=user_gallery [L,QSA]


AddType text/vnd.wap.wml;charset=utf-8 .wml
AddType application/vnd.sonyericsson.mms-template tpl
AddType application/vnd.wap.wmlc .wmlc
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlscriptc .wmlsc
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/vnd.sun.j2me.app-descriptor .jad
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/java-archive .jar
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/mp4 .mp4
Addtype video/3gpp .3gp