htaccess Options -Indexes AddType audio ogg ogg php_flag display_error

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#.htaccess
Options -Indexes
AddType audio/ogg ogg
php_flag display_errors on
php_value default_charset utf-8
php_value upload_max_filesize 10M
php_value post_max_size 10M
php_flag display_startup_errors off
RewriteEngine On
RewriteRule ^reg/$ user/reg.php
RewriteRule ^login/$ user/auth.php
RewriteRule ^users/$ user/users.php
RewriteRule ^users/p([0-9]+)/$ user/users.php?p=$1
RewriteRule ^blog/p([0-9]+)/$ blog/index.php?p=$1
RewriteRule ^blog/([0-9]+)/$ blog/blog.php?id=$1
RewriteRule ^gbook/([0-9]+)$ gbook/index.php?user=$1
RewriteRule ^blog/([0-9]+)/p([0-9]+)/$ blog/blog.php?id=$1&p=$2
RewriteRule ^blog/user/([0-9]+)$ blog/index.php?user=$1
RewriteRule ^blog/user/([0-9]+)/p([0-9]+)/$ blog/index.php?user=$1&p=$2
RewriteRule ^exit/$ user/exit.php
RewriteRule ^friends/$ user/friends.php
RewriteRule ^friends/p([0-9]+)/$ user/friends.php?p=$1
RewriteRule ^friends/([0-9]+)/$ user/friends.php?id=$1
RewriteRule ^friends/([0-9]+)/p([0-9]+)/$ user/friends.php?id=$1&p=$2
RewriteRule ^friends/([0-9]+)/remove/([0-9]+)/$ user/friends.php?id=$1&delete=$2
RewriteRule ^followers/$ user/followers.php
RewriteRule ^followers/p([0-9]+)/$ user/followers.php?p=$1
RewriteRule ^followers/([0-9]+)/$ user/followers.php?id=$1
RewriteRule ^followers/([0-9]+)/p([0-9]+)/$ user/followers.php?id=$1&p=$2
RewriteRule ^favorite/$ user/favorite.php
RewriteRule ^avatar/$ user/avatar.php
RewriteRule ^online/$ user/online.php
RewriteRule ^forum/file/([0-9]+)/download forum/download.php?id=$1
RewriteRule ^comment/file/([0-9]+)/download forum/download_comment.php?id=$1
RewriteRule ^blog/file/([0-9]+)/download blog/download.php?id=$1
RewriteRule ^info/([0-9]+)$ user/info.php?id=$1
RewriteRule ^info/$ user/info.php
RewriteRule ^more/([0-9]+)$ user/anketa.php?id=$1
RewriteRule ^forum/([0-9]+)/$ forum/forum.php?id=$1
RewriteRule ^forum/([0-9]+)/([0-9]+)/$ forum/topic.php?id=$2&fid=$1
RewriteRule ^forum/([0-9]+)/([0-9]+)/p([0-9]+)/$ forum/topic.php?id=$2&fid=$1&p=$3
RewriteRule ^forum/$ forum/forum.php
RewriteRule ^blog/repost/([0-9]+)$ blog/index.php?repost=$1&repost_type=blog
RewriteRule ^forum/repost/([0-9]+)$ blog/index.php?repost=$1&repost_type=topic
RewriteRule ^send-comment/([0-9]+)/$ forum/topic.php?id=$1
RewriteRule ^contacts/$ mail/contacts.php
RewriteRule ^newmail/$ mail/newmail.php
RewriteRule ^answers/$ bido/answers.php
RewriteRule ^feed/$ bido/feed.php
RewriteRule ^feed/p([0-9]+)/$ bido/feed.php?p=$1
RewriteRule ^go/(.*) bido/go.php?link=$1
RewriteRule ^answers-new/$ bido/new_answers.php
RewriteRule ^answers-new/p([0-9]+)$ bido/new_answers.php?p=$1
RewriteRule ^answers/p([0-9]+)/$ bido/answers.php?p=$1
RewriteRule ^contacts/p([0-9]+)/$ mail/contacts.php?p=$1
RewriteRule ^mail/([0-9]+)$ mail/mail.php?id=$1
RewriteRule ^mail/([0-9]+)/p([0-9]+)/$ mail/mail.php?id=$1&p=$2
RewriteRule ^mail/delete/$ mail/delete.php
RewriteRule ^heart/access-look/$ heart/accessLook.php
RewriteRule ^heart/access-edit/$ heart/accessEdit.php
RewriteRule ^heart/optimize-forum/$ heart/forumOptimize.php
RewriteRule ^heart/global-replace/$ heart/globalReplace.php
RewriteRule ^heart/clear-posts/$ heart/clearPosts.php
RewriteRule ^heart/user-delete/$ heart/userDelete.php
RewriteRule ^heart/temp-clear/$ heart/tempClear.php
RewriteRule ^heart/watch-bans/$ heart/watchBans.php
RewriteRule ^heart/user-edit/$ heart/userEdit.php
RewriteRule ^heart/unblock/([0-9]+)$ heart/watchBans.php?unblock=$1
RewriteRule ^heart/unban/([0-9]+)$ heart/watchBans.php?unban=$1
RewriteRule ^ban/$ user/block.php?r=ban
RewriteRule ^block/$ user/block.php?r=block
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/flv .flv
AddType video/mp4 .mp4
Addtype video/3gpp .3gp
Addtype application/zip .zip
Addtype audio/mpeg .mp3