Файл: admin/.htaccess
Строк: 153
# Configurations
php_value output_buffering 1
php_value error_reporting
7
php_value register_globals 0
php_value session.use_cookies 1
php_value
session.use_trans_sid 1
php_value safe_mode_gid 1
php_value
safe_mode_include_dir 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
"&"
php_value post_max_size 20M
php_value
upload_max_filesize 20M
DirectoryIndex index.php
AddDefaultCharset
UTF-8
Options -Indexes
# AddTypes
RemoveHandler .shtml
AddType
application/x-httpd-php .php .shtml
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
# Rewrite Configurations
RewriteEngine
on
RewriteBase /
RewriteCond %{HTTP_HOST} ^([^\.]+)\.test8\.ru$
[NC]
RewriteCond %{HTTP_HOST} !^www\.test8\.ru$ [NC]
RewriteRule ^(.*)$
http://%1.test8.ru/ [R,QSA]
RewriteRule ^info/(.+)$
pages/anketa.php?login=$1 [L]
RewriteRule ^p/(.+)$
pages/anketa.php?login=$1 [L]
RewriteRule ^admins/(.+)$ pages/admins?
[L]
php_value register_globals off
RewriteEngine On
RewriteCond
%{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
RewriteRule ^([0-9]+)$
info.php?nk=$1 [L,QSA] ## Анкета
RewriteRule ^id([0-9]+)$
info.php?nk=$1 [L,QSA] ## Анкета
RewriteRule ^photo([0-9]+)$
photo.php?nk=$1 [L,QSA] ## Фото
RewriteRule ^stena([0-9]+)$
stena.php?nk=$1 [L,QSA] ## Стена
RewriteRule ^opinions([0-9]+)$
opinions.php?nk=$1 [L,QSA] ## Мнения
RewriteRule ^questions([0-9]+)$
questions.php?nk=$1 [L,QSA] ## Вопросы
####### Альбомы
########################################################################
RewriteRule
^my_albums$ my_albums.php [L,QSA]
#
RewriteRule ^new_album$ new_album.php [L,QSA]
#
RewriteRule ^add_foto$ add_foto.php [L,QSA]
#
RewriteRule ^album([0-9]+)$ album.php?nk=$1
[L,QSA] #
RewriteRule
^album([0-9]+)_([0-9]+)$ album.php?nk=$1&album=$2 [L,QSA]
#
RewriteRule ^album([0-9]+).([0-9]+)$ album.php?nk=$1&album=$2
[L,QSA] #
RewriteRule ^album([0-9]+)_([0-9]+)_([0-9]+)$
album.php?nk=$1&album=$2&foto=$3 [L,QSA]
#
########################################################################################
RewriteRule
^audio([0-9]+)$ audio.php?nk=$1 [L,QSA]
RewriteRule
^audio([0-9]+)_([0-9]+)$ audio.php?nk=$1&mid=$2 [L,QSA]
RewriteRule
^video([0-9]+)$ video.php?nk=$1 [L,QSA]
RewriteRule
^video([0-9]+)_([0-9]+)$ video.php?nk=$1&mid=$2 [L,QSA]
RewriteRule
^groups/group([0-9]+)$ groups/index.php?mod=group&gid=$1
[L,QSA]
RewriteRule ^diaries([0-9]+)$ diaries.php?mod=user&nk=$1
[L,QSA]
RewriteRule ^gifts([0-9]+)$ gifts/?nk=$1 [L,QSA]
RewriteRule
^gifts([0-9]+)_([0-9]+)$ gifts/?nk=$1&gift=$2&mod=read
[L,QSA]
RewriteRule ^([a-z0-9]+)$ $1.php [L,QSA]
RewriteRule
^([a-z0-9]+)_([a-z0-9]+)$ $1_$2.php [L,QSA]
RewriteRule
^([a-z0-9]+)/([a-z0-9]+)$ $1/$2.php [L,QSA]
RewriteRule
^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+)$ $1/$2_$3.php
[L,QSA]
########################Ссылки##########################################################
RewriteRule
^([a-z0-9]+).php10$ $1.php [L,QSA]
#
RewriteRule ^([a-z0-9]+).wml$ $1.php [L,QSA]
#
RewriteRule ^([a-z0-9]+).html$ $1.php [L,QSA]
#
RewriteRule ^([a-z0-9]+).cgi$ $1.php [L,QSA]
#
RewriteRule ^([a-z0-9]+).perl$
$1.php [L,QSA] #
RewriteRule
^([a-z0-9]+).shaxter$ $1.php [L,QSA]
#
RewriteRule ^([a-z0-9]+).shaxty$ $1.php [L,QSA]
#
#
RewriteRule ^([a-z0-9]+)_([a-z0-9]+).php10$
$1_$2.php [L,QSA] #
RewriteRule
^([a-z0-9]+)_([a-z0-9]+).wml$ $1_$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)_([a-z0-9]+).html$ $1_$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)_([a-z0-9]+).cgi$ $1_$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)_([a-z0-9]+).perl$
$1_$2.php [L,QSA] #
RewriteRule
^([a-z0-9]+)_([a-z0-9]+).shaxter$ $1_$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)_([a-z0-9]+).shaxty$ $1_$2.php [L,QSA]
#
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+).php10$
$1/$2.php [L,QSA] #
RewriteRule
^([a-z0-9]+)/([a-z0-9]+).wml$ $1/$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+).html$ $1/$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+).cgi$ $1/$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+).perl$
$1/$2.php [L,QSA] #
RewriteRule
^([a-z0-9]+)/([a-z0-9]+).shaxter$ $1/$2.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+).shaxty$ $1/$2.php [L,QSA]
#
#
RewriteRule
^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).php10$ $1/$2_$3.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).wml$ $1/$2_$3.php
[L,QSA] #
RewriteRule
^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).html$ $1/$2_$3.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).cgi$ $1/$2_$3.php
[L,QSA] #
RewriteRule
^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).perl$ $1/$2_$3.php [L,QSA]
#
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).shaxter$ $1/$2_$3.php
[L,QSA] #
RewriteRule ^([a-z0-9]+)/([a-z0-9]+)_([a-z0-9]+).shaxty$
$1/$2_$3.php [L,QSA]
#
########################################################################################
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
php_flag display_errors 7
php_value error_reporting 7
php_value
register_globals 0
php_flag session.use_trans_sid off
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 "&"
DirectoryIndex
index.php
AddDefaultCharset UTF-8
Options -Indexes
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;charset=UTF-8 .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
php_value upload_max_filesize 500M
php_value
memory_limit -1
php_value post_max_size 500M