zip
serrrios
Код: Выделить всё
#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
#<IfModule mod_rewrite.c>
#RewriteEngine on
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#</IfModule>
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
DirectoryIndex portal.php index.php index.html index.htm
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.torrentlar.com$ [NC]
RewriteRule ^(.*)$ http://torrentlar.com/$1 [R=301,L]
zip
zzipper
Мода нет.zzipper писал(а):mod_rewrite-то стоит? Логи что говорят?
zip
Код: Выделить всё
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.torrentlar.com$ [NC]
RewriteRule ^(.*)$ http://torrentlar.com/$1 [R=301,L]
zzipper
Сделал так :zzipper писал(а):mod_rewrite это не мод, а модуль апача для преобразования URL адресов.
Логи всегда что-нибудь да пишут.
Попробуй закоментироватьКод: Выделить всё
RewriteEngine On RewriteCond %{HTTP_HOST} ^www.torrentlar.com$ [NC] RewriteRule ^(.*)$ http://torrentlar.com/$1 [R=301,L]
zip
zzipper
zip
zzipper