Залил шелл, но в корневой дире, если даже очистить файл index.php то сайт все-равно все норм отображает, не могу разобраться, куча папок с редиректами или на поддомены или на другие домены!
Создал в корне текстовик и если открывать его site.com/1.txt то 404 выдает, потом я очистил .htaccess и запустил site.com/1.txt все норм открылось, вернул все обратно, удалил 1.txt через время он снова появился, первый раз такое хитрое что то попадает, нужна ваша помощь!
Что нужно, нужно вообще вставить свой код или в страницы или в js!
Файл index.php в корне
Цитата:
Сообщение от None
here to install it.");
}
}
if ( ! ereg("/$", $system_path)) $system_path .= '/';
if ( ! @include($system_path.'core/core.system'.$ext))
{
exit("The system path does not appear to be set correctly. Please open your path.php file and correct the path.");
}
?>
Файд path.php в корне
Цитата:
Сообщение от None
Файл .htaccess
Цитата:
Сообщение от None
RewriteEngine On
RewriteCond %{HTTP_HOST} ^site\.com [NC]
RewriteRule ^(.*)$ http://www.site.com/$1 [R=301,L]
RewriteCond %{THE_REQUEST} !^POST
RewriteRule ^weblog/?(.*)$ /$1 [R=301,L]
RewriteCond $1 !^(googlesearch\.php|themes|thcp|member|eyewonder| js|php|cron|testing|videoegg|newshunter|spell_chec ker|submit-new|wiki|devwiki|editing|dev|edits|embed-templates|forums|search|facebook|images|system|fav icon\.ico|index\.php)
RewriteRule ^(.*) index.php/weblog/$1 [L]
RewriteCond $1 !^(googlesearch\.php|themes|thcp|images|eyewonder| js|php|videoegg|spell_checker|facebook|index|trend s|category|favicon\.ico|index\.php)
RewriteRule ^(.*) index.php/$1 [L]
#Rewrite all /images to go to file.site.com
RewriteRule ^images/(.*)$ http://file.site.com/$1 [R,L]