vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   The message of "Page not found" on the homepage (https://vborg.vbsupport.ru/showthread.php?t=321005)

SWSUSA 12-08-2015 02:45 AM

The message of "Page not found" on the homepage
 
Hi! The homepage of the forum http://glbyh.ru ceased to open. Writes: "Page not found". Though other http://glbyh.ru/showthread.php?t=18811 open. In what there can be a reason?

Привет! Главная страница форума http://glbyh.ru перестала открываться. Пишет: "Page not found". Хотя другие страницы http://glbyh.ru/showthread.php?t=18811 открываются. В чём может быть причина?

Dave 12-08-2015 07:45 AM

Faulty plugin installed? Got hacked perhaps?

SWSUSA 12-08-2015 06:54 PM

I enter the administrator's panel. The site isn't hacked.)

В панель администратора я вхожу. Сайт не взломан.)

Dragonsys 12-08-2015 07:58 PM

check your index.* file(s) to make sure they have not been changed
From ACP run the Suspect File check (ACP->Maintenance->Diagnostics->Suspect File Versions)

RichieBoy67 12-08-2015 09:55 PM

This just happened or did you do anything first? Server move or something?

SWSUSA 12-09-2015 01:38 AM

Quote:

Originally Posted by Dragonsys (Post 2559987)
check your index.* file(s) to make sure they have not been changed
From ACP run the Suspect File check (ACP->Maintenance->Diagnostics->Suspect File Versions)

I checked. Writes:
forum.php the File isn't part of vBulletin
index.php the File doesn't contain the expected contents

Проверил. Пишет:
forum.php Файл не является частью vBulletin
index.php Файл не содержит ожидаемого содержимого

--------------- Added [DATE]1449632520[/DATE] at [TIME]1449632520[/TIME] ---------------

Quote:

Originally Posted by RichieBoy67 (Post 2559993)
This just happened or did you do anything first? Server move or something?

It occurred in itself. The site normally worked the last months and I didn't do any changes at a forum and on a hosting.

Это произошло само по себе. Сайт нормально работал последние месяцы и я никаких изменений не делал на форуме и на хостинге.

Dragonsys 12-09-2015 02:36 AM

then your forum.php and index.php were either hacked, or corrupted. Upload fresh copies of both

SWSUSA 12-09-2015 03:25 AM

Quote:

Originally Posted by Dragonsys (Post 2560020)
then your forum.php and index.php were either hacked, or corrupted. Upload fresh copies of both

I replaced files on new, writes too most.
forum.php the File isn't part of vBulletin
index.php the File doesn't contain the expected contents

Я заменил файлы на новые, пишет тоже самое.
forum.php Файл не является частью vBulletin
index.php Файл не содержит ожидаемого содержимого

Dragonsys 12-09-2015 03:54 AM

it seems you might have been hacked. You might try reuploading all the vb files and running the upgrade script.

SWSUSA 12-09-2015 04:00 AM

Quote:

Originally Posted by Dragonsys (Post 2560022)
it seems you might have been hacked. You might try reuploading all the vb files and running the upgrade script.

I will try to load a backup. Truth it 3-month prescription.

Я попробую загрузить бэкап. Правда он 3-х месячной давности.

--------------- Added [DATE]1449645306[/DATE] at [TIME]1449645306[/TIME] ---------------

I loaded a backup. Helped nothing.

Загрузил бэкап. Ничего не помогло.

Dave 12-09-2015 08:09 AM

So even when you upload the original forum.php and index.php file, the same problem is happening?
Definitely a bad plugin/hook or .htaccess file.

SWSUSA 12-09-2015 09:24 AM

Quote:

Originally Posted by Dave (Post 2560031)
So even when you upload the original forum.php and index.php file, the same problem is happening?

Yes. Да.

Quote:

Originally Posted by Dave (Post 2560031)
Definitely a bad plugin/hook or .htaccess file.

I assume that it because of settings of the web server or because of one of the established spendthrifts.

Я предполагаю, что это из-за настроек веб-сервера или из-за одного из установленных модов.

--------------- Added [DATE]1449667976[/DATE] at [TIME]1449667976[/TIME] ---------------

I solved a problem. It because of a code in the .htaccess file.
With such code the site ceased to open:

Решил проблему. Это из-за кода в файле .htaccess.
С таким кодом сайт перестал открываться:

Code:

# Block User-agent Libwww-perl
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* – [F,L]

<IfModule mod_rewrite.c>
        RewriteEngine On

        # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
        # RewriteBase /

        # If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
        # Options -MultiViews

        RewriteCond %{REQUEST_URI} !(admincp/|dbseocp/|modcp/|cron|mobiquo|forumrunner|api\.php|reviewpost/|classifieds/|photopost/)
        RewriteRule ^((archive/)?(.*\.php(/.*)?))$ dbseo.php [L,QSA]

        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !/(admincp|dbseocp|modcp|clientscript|cpstyles|images|reviewpost|classifieds|photopost)/
        RewriteRule ^(.+)$ dbseo.php [L,QSA]
</IfModule>

# proc/self/environ? no way!
RewriteCond %{QUERY_STRING} proc/self/environ [OR]
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})

With such code the site opens:
С таким кодом сайт открывается:
Code:

# Block User-agent Libwww-perl
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
RewriteRule .* – [F,L]

# proc/self/environ? no way!
RewriteCond %{QUERY_STRING} proc/self/environ [OR]
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})

<IfModule mod_rewrite.c>
        RewriteEngine On

        # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
        # RewriteBase /

        # If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
        # Options -MultiViews

        RewriteCond %{REQUEST_URI} !(admincp/|dbseocp/|modcp/|cron|mobiquo|forumrunner|api\.php|reviewpost/|classifieds/|photopost/)
        RewriteRule ^((archive/)?(.*\.php(/.*)?))$ dbseo.php [L,QSA]

        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteCond %{REQUEST_FILENAME} !/(admincp|dbseocp|modcp|clientscript|cpstyles|images|reviewpost|classifieds|photopost)/
        RewriteRule ^(.+)$ dbseo.php [L,QSA]
</IfModule>

The part of this code is necessary for fashion [DBTech] of DragonByte SEO v2 (vB4). Though itself fashions at me it is switched off.
Часть этого кода нужна для мода [DBTech] DragonByte SEO v2 (vB4). Хотя сам мод у меня выключен.

The part of this code optimizes a forum, increasing the speed of loading of pages.
Часть этого кода оптимизирует форум, увеличивая скорость загрузки страниц.

Dragonsys 12-09-2015 05:49 PM

glad you got it figured out, but did you not tell us that you didn't make any changes, it just suddenly started happening? If you had told us about the changes made to .htaccess we could have figured it out sooner ;)

SWSUSA 12-10-2015 12:40 AM

Quote:

Originally Posted by Dragonsys (Post 2560058)
glad you got it figured out, but did you not tell us that you didn't make any changes, it just suddenly started happening? If you had told us about the changes made to .htaccess we could have figured it out sooner ;)

I did changes in the .htaccess file 5 months ago.
Изменения в файле .htaccess я делал 5 месяцев назад.

I think that the company the owner of a hosting made some changes on a hosting though they also won't confess in it. I saw on a hosting there were new functions and new folders, just that day when my site ceased to open. And this code in the .htaccess file ceased to work normally.
Я думаю, что компания владелец хостинга внесла какие-то изменения на хостинге, хотя они и не сознаются в этом. Я видел на хостинге появились новые функции и новые папки, как раз в тот день, когда мой сайт перестал открываться. И этот код в файле .htaccess перестал нормально работать.

Dragonsys 12-10-2015 12:50 AM

Quote:

Originally Posted by SWSUSA (Post 2560077)
I did changes in the .htaccess file 5 months ago.
Изменения в файле .htaccess я делал 5 месяцев назад.

I think that the company the owner of a hosting made some changes on a hosting though they also won't confess in it. I saw on a hosting there were new functions and new folders, just that day when my site ceased to open. And this code in the .htaccess file ceased to work normally.
Я думаю, что компания владелец хостинга внесла какие-то изменения на хостинге, хотя они и не сознаются в этом. Я видел на хостинге появились новые функции и новые папки, как раз в тот день, когда мой сайт перестал открываться. И этот код в файле .htaccess перестал нормально работать.

ahh ok, I would open a ticket to your host and ask them what changes they made recently then. They might have upgraded PHP or Apache, but it would be handy for you to know what they are doing ;)


All times are GMT. The time now is 01:30 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01896 seconds
  • Memory Usage 1,809KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete