Вход Регистрация
Файл: .htaccess
Строк: 143
php_value memory_limit 256M php_value register_globals 0 ExpiresActive
On ExpiresByType application/javascript "access plus 1
year" ExpiresByType text/javascript "access plus 1 year"
ExpiresByType text/css "access plus 1 year" ExpiresByType
image/gif "access plus 1 year" ExpiresByType image/jpeg
"access plus 1 year" ExpiresByType image/png "access plus 1
year" Header set Cache-control: private Header set Cache-control:
public BrowserMatch "MSIE" force-no-vary BrowserMatch
"Mozilla/4.[0-9]{2}" force-no-vary <FilesMatch
.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$=""> Header set Expires
"Wed, 13 Dec 2012 01:00:00
GMT" </FilesMatch> <FilesMatch
"\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$"> Header set
Cache-Control "max-age=29030400,
public" </FilesMatch> <FilesMatch
"\.(xml|txt|css|js)$"> Header set Cache-Control
"max-age=29030400,
proxy-revalidate" </FilesMatch> <FilesMatch
"\.(html|htm|txt)$"> Header set Cache-Control
"max-age=29030400, must-revalidate" </FilesMatch> #
так безопаснее php_flag display_errors 1 php_flag log_errors
off php_value upload_max_filesize 55M # убираем
экранирование кавычек php_value magic_quotes_gpc 0 #
дописываем сессию к URL php_value session.use_trans_sid 1
php_value session.cookie_lifetime 0 # кодировка
по-умолчанию AddDefaultCharset UTF-8 # удаляет
ошибки php_value error_reporting 1 DirectoryIndex index.php Options
-Indexes <Files count.php> order allow,deny deny from
all </Files> AddOutputFilterByType DEFLATE text/html text/plain
text/xml application/xml application/xhtml+xml text/javascript text/css
application/x-javascript BrowserMatch ^Mozilla/4
gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch
bMSIE !no-gzip !gzip-only-text/html RewriteEngine On RewriteRule
^captcha.png/?$ /pages/capcha/index.php [L,QSA] RewriteRule ^adminka/?$
/core/adminka/index.php [L,QSA] RewriteRule ^adminka/protection/?$
/core/adminka/protection.php [L,QSA] RewriteRule ^adminka/server/?$
/core/adminka/server.php [L,QSA] RewriteRule ^adminka/system/?$
/core/adminka/system.php [L,QSA] RewriteRule ^adminka/users/?$
/core/adminka/users.php [L,QSA] RewriteRule ^adminka/function/?$
/core/adminka/function.php [L,QSA] RewriteRule ^adminka/log/?$
/core/adminka/log.php [L,QSA] RewriteRule ^adminka/delete/?$
/core/adminka/user_del.php [L,QSA] RewriteRule ^adminka/ip/?$
/core/adminka/ip.php [L,QSA] RewriteRule ^adminka/edit_user/?$
/core/adminka/edit_users.php [L,QSA] RewriteRule ^adminka/ban/?$
/core/adminka/ban.php [L,QSA] RewriteRule ^id([0-9]*) id.php?id=$1
[L,QSA] RewriteRule ^Id([0-9]*) id.php?id=$1 [L,QSA] RewriteRule
^iD([0-9]*) id.php?id=$1 [L,QSA] RewriteRule ^ID([0-9]*) id.php?id=$1
[L,QSA] # Группы RewriteRule ^groups/?$ /str/to_groups.php
[L,QSA] RewriteRule ^group/top/?$ /group/to_top.php [L,QSA] RewriteRule
^group/journal/?$ /group/to_journal.php [L,QSA] RewriteRule
^group/invite/?$ /group/to_invite.php [L,QSA] RewriteRule ^group/delete/?$
/group/to_delete.php [L,QSA] RewriteRule ^group/plea/?$ /group/to_plea.php
[L,QSA] RewriteRule ^group/online/?$ /group/to_online.php
[L,QSA] RewriteRule ^group/admins/?$ /group/to_admins.php
[L,QSA] RewriteRule ^group/users/?$ /group/to_users.php [L,QSA] RewriteRule
^group/chat/?$ /group/to_chat.php [L,QSA] RewriteRule ^group/settings/?$
/group/to_settings.php [L,QSA] RewriteRule ^group/group/?$
/group/to_group.php [L,QSA] RewriteRule ^group/list/?$ /group/to_list.php
[L,QSA] RewriteRule ^group/add/?$ /group/to_add.php [L,QSA] # задаем
соответствие mime типов расширению 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 # переопределяем страницы
ошибок ErrorDocument 400 /err?err=23 ErrorDocument 401
/err?err=1 ErrorDocument 402 /err?err=2 ErrorDocument 403
/err?err=3 ErrorDocument 404 /err?err=4 ErrorDocument 405
/err?err=5 ErrorDocument 406 /err?err=6 ErrorDocument 407
/err?err=7 ErrorDocument 408 /err?err=8 ErrorDocument 409
/err?err=9 ErrorDocument 411 /err?err=10 ErrorDocument 412
/err?err=11 ErrorDocument 413 /err?err=12 ErrorDocument 414
/err?err=13 ErrorDocument 415 /err?err=14 ErrorDocument 416
/err?err=15 ErrorDocument 417 /err?err=16 ErrorDocument 500
/err?err=17 ErrorDocument 501 /err?err=18 ErrorDocument 502
/err?err=19 ErrorDocument 503 /err?err=20 ErrorDocument 504
/err?err=21 ErrorDocument 505 /err?err=22
Онлайн: 1
Реклама