server801
Moderator
Posts: 349
Joined: Mar 2009
Reputation: 1
|
RE: НЕ работает SMTP
(11-11-2010 03:26 AM)dewnet Wrote: 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] #
########################################################################################
## Прибавление SID= к ссылкам...
php_value session.use_cookies 0
php_value session.use_trans_sid 1
php_value arg_separator.output "&"
php_flag error_reporting 0
php_flag safe_mode_gid 1
php_flag safe_mode On
php_flag safe_mode_include_dir 1
php_flag magic_quotes_gpc 0
php_flag magic_quotes_runtime 0
php_flag magic_quotes_sybase 0
AddDefaultCharset UTF-8
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
А здесь какая ошибка ? ТО СЕРВЕР зае... уже с этим htaccess
а вы уверены что двиг будет работать в режиме fast-cgi ? вот socialengine фиг работает нормально с htaccess с fast-cgi
|
|