Файл: www/.htaccess
Строк: 83
# 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 ^msg([0-9]+)$
msg.php?id=$1 [L,QSA]
RewriteRule ^avtoritet([0-9]+)$ avtoritet.php?id=$1
[L,QSA]
RewriteRule ^sps([0-9]+)$ sps.php?id=$1 [L,QSA]
RewriteRule
^nar([0-9]+)$ nar.php?nk=$1 [L,QSA]
RewriteRule ^rating([0-9]+)$
rating.php?id=$1 [L,QSA]
RewriteRule ^photo([0-9]+)$ photo.php?nk=$1
[L,QSA] ## Фото
RewriteRule ^stena([0-9]+)$ stena.php?nk=$1 [L,QSA] ##
Стена
RewriteRule ^questions([0-9]+)$ questions.php?nk=$1 [L,QSA] ##
Вопросы
RewriteRule ^st([0-9]+)$ st.php?id=$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