Request URL /server-status or 404 Page Not Found Apache Error Request URL / сервер-статус або 404 Page Not Found Apache помилку

In Apache web server, when an administrator wants to check the Apache server status with the command “apachectl status” or “service httpd fullstatus” at shell prompt, the following error may occur: У Apache Web Server, коли адміністратор хоче перевірити стан сервера Apache за допомогою команди "apachectl статус" або "послуги HTTPD fullstatus" на запрошення оболонки, така помилка може відбутися:

Not Found Не знайдено

The requested URL /server-status was not found on this server. Запитувана сторінка / сервер-статус не був знайдений на цьому сервері.

If you request the Apache status from web page by viewing http://domain_name/server-status link location, a 404 page not found error will be returned by web browser. Якщо ви запитуєте статус Apache на веб-сторінці, переглянувши http://domain_name/server-status місця заслання, 404 сторінка не знайдена помилка буде повертатися за допомогою веб-браузера.

There are several reasons why this problem can occurred. Є кілька причин, чому ця проблема може сталося. First thing to check is to ensure that the mod_status status handler is properly setup and loaded in httpd.conf configuration file. Перше, що потрібно перевірити це для того, щоб mod_status обробника статус правильно встановлено і завантажений у файлі конфігурації httpd.conf. Using APXS, the following 2 lines must exist: Використання APXS, наступні 2 рядки повинні існувати:

LoadModule status_module /path/to/apache/modules/mod_status.so LoadModule status_module / путь / к / Apache / Modules / mod_status.so
AddModule mod_status.c AddModule mod_status.c

If the lines exist, the problem probably lies on virtual host declaration. Якщо лінії існують, то проблема, можливо, лежить на віртуальному декларації господаря. As a side note, you can also check if the status handler is been activated to show more information (but will slow down a busy server) by locating the following line in httpd.conf (default to off): В якості примітки, можна також перевірити стан обробника була активована, щоб показати більше інформації (але сповільнить сервер зайнятий), виявивши наступні рядки в httpd.conf (за замовчуванням вимкнено):

ExtendedStatus On На ExtendedStatus

For virtual host for server-status, ensure that the following line exists in your Apache configuration file: Для віртуального хоста сервера статусу, переконайтеся, що існують такі рядки у вашому файлі конфігурації Apache:


SetHandler server-status SetHandler сервер-статус
Order allow,deny Наказ дозволити, заперечують
Deny from all Заборонити з усіх
Allow from localhost Дозвольте від Localhost

You can change the localhost to your domain name such as .example.com (including dot in front of domain) to allow access from domain address. Ви можете змінити локального комп'ютера на ім'я домену наприклад. Example.com (включаючи крапку перед домен) дозволити доступ з доменного адреси. Else localhost restrict access doesn't allow public access to server-status, and only command shell access locally is possible. Останнє Localhost обмежити доступ не дозволити доступ громадськості до сервера-статус, і тільки командна оболонка доступу на місцевому рівні, можливо.

Note that also if you use NameVirtualHost *:80 directive, or any *:port directive to run multiple name based virtual hosts, this configuration does not allow server-status on any of the publicly accessible addresses. Зверніть увагу, що також, якщо ви використовуєте NameVirtualHost *: 80 Директиви, або будь-який *: порт директиву для запуску декількох віртуальних назви хостів, ця конфігурація не дозволяє серверу статус на будь-який з публічно доступних адрес. The reason is that the first Virtual Host in the directive is considered the “Default Virtual Host”, and any unknown entries on the NameVirtualHost space whenever user or process attempts to access port 80 on any IP address, will go to this virtual host by default. Причина в тому, що перший віртуальний хост в директиві вважається "віртуальний хост за умовчанням", і будь-які невідомі записи на NameVirtualHost просторі всякий раз, коли користувач або процес намагається отримати доступ до порту 80 на будь-яку адресу IP, піде на цей віртуальний хост за замовчуванням . Hence the 404 page not found error is returned. Таким чином, 404 сторінка не знайдена повертається помилка. Furthermore the server-status configuration cannot be placed inside of a VirtualHost directive to be read from a full domain name. Крім того, сервер-статус конфігурації не може бути розміщений всередині директиви VirtualHost для читання з повним доменним ім'ям.

There are 2s solution and workarounds for this scenario, either by making the server listen on an alternative port (such as port 8080), or allowing only internal or local access. Є 2s рішення та обхідні шляхи для цього сценарію, роблячи свій сервер прослуховує альтернативний порт (наприклад, порт 8080), або допускаючи тільки внутрішній або місцевому рівнях.

To change to another port, simply adding “Listen 8080″ to the configuration, and you can access the server status from external by using http://domain:8080/server-status in any web browser. Для переходу до іншого порту, просто додавши "Слухай 8080" в конфігурації, і Ви можете отримати доступ до сервера статус за допомогою зовнішніх http://domain:8080/server-status в будь-якому веб-браузері.

To allow only local access for commands such as 'apachectl status' or 'service httpd fullstatus', simply switch each * to the actual IP address to work from, then accessing from localhost (127.0.0.1) will work. Щоб вирішити тільки локальний доступ для таких команд, як "apachectl статус" або "послуги HTTPD fullstatus ', просто перемкнутися на кожному * Фактична адреса IP для роботи с, то доступ з локального хоста (127.0.0.1) буде працювати.

For example, change from: Наприклад, зміна від:

NameVirtualHost *:80 NameVirtualHost *: 80

to до

NameVirtualHost 10.0.0.3:80 NameVirtualHost 10.0.0.3:80

Once configuration file is modified correctly, restart Apache HTTPD server. Як тільки файл конфігурації Зміни правильно, перезапустити сервер Apache HTTPD.

IMPORTANT : The page is machine translated and provided "as is" without warranty. ВАЖЛИВО: Сторінка машина переведена і надаються "як є" без гарантії. Machine translation may be difficult to understand. Машинний переклад може бути важким для розуміння. Please refer to Будь ласка, зверніться до original English article оригінальний англійська статтю whenever possible. коли це можливо.


2 Responses to “Request URL /server-status or 404 Page Not Found Apache Error” 2 Відповіді на "Request URL / сервер-статус або 404 Page Not Found Apache Error"

  1. admin Admin
    December 28th, 2007 02:23 28 грудня 2007 02:23
    2 2

    You can still visit even though SSL certificate is expired. Ви все одно зможете відвідати хоча це SSL сертифікату закінчився. Just accept the security warning. Просто прийміть попередження про безпеку. Looks like your site is having configuration error on web server, probably virtual hosts or redirection error. Схоже, ваш сайт з конфігурацією помилку на веб-сервер, можливо, віртуальних хостів або перенаправлення помилки.

  2. LYNDA RIDLEY Лінда Рідлі
    December 28th, 2007 01:37 28 грудня 2007 01:37
    1 1

    Hi, Привіт,
    I hope you dont mind me asking you, but i've been searching on Google for some help as i'm totally stuck – and then I found you !! Я сподіваюся, ви не бачите мене просити Вас, але я шукав у Google за допомогою як я повністю застряг - і тоді я вас знайшов!
    My website went down about 3 weeks ago and I cant get in touch wih the man who set my site up for me. Мій сайт спустилася близько 3 тижнів тому, і я нахиляє зв'язатися wih чоловік, який Поставити мій сайт за мене.
    I'm trying to get onto my site and its just telling me that the certificate has expired, but I dont know what to do. Я намагаюся отримати на свій сайт і його просто говорив мені, що термін дії сертифіката закінчився, але я не знаю що робити.
    I am desperate for help but am not too good on computers so dont understand all the 'lingo' and any advise would need to be in simple terms. Я відчайдушно потребують допомоги, але я не дуже добре на комп'ютерах, тому не всі розуміють жаргон 'і будь-які консультування необхідно буде в простих термінах.
    I would be very very grateful if you could point me in the right direction. Я був би дуже вдячний, якщо Ви могли б вказати мене в правильному напрямку.
    Thanks hopefully, Завдяки сподіватися,
    Lynda Лінда

Leave a Reply Написати відповідь

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Ви можете використовувати ці теги: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <справі DateTime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Підписатися на коментарі функція була відключена. To receive notification of latest comments posted, subscribe to Щоб отримувати повідомлення про останні коментарях, підписатися My Digital Life Comments RSS feed Моя Цифрова життя Коментарі RSS Feed or або register to receive Увійдіть, щоб отримувати new comments in daily email digest. нові коментарі в щоденній електронній пошті.
Custom Search

New Articles Нові статті

Incoming Search Terms for the Article Вхідні терміни пошуку для статті

The requested URL was not found on this server. Сторінка не знайдена на цьому сервері. - -- The requested URL / was not found on this server. Запитувана сторінка / не знайдена на цьому сервері. - -- The requested URL was not found on this server Сторінка не знайдена на цьому сервері - -- server-status 404 Сервер-статус 404 - -- The requested URL /server-status was not found on this server Запитувана сторінка / сервер-статус не був знайдений на цьому сервері - -- The requested URL / was not found on this server Запитувана сторінка / не знайдена на цьому сервері - -- The requested URL /server-status was not found on this server. Запитувана сторінка / сервер-статус не був знайдений на цьому сервері. - -- apache server-status 404 Apache сервера статусу 404 - -- The requested URL was not found on this server. Сторінка не знайдена на цьому сервері. - -- the requested url was not found on this server. Сторінка не знайдена на цьому сервері. apache Apache - -- apache status url Apache Статус URL - -- The requested URL was not found on this server Сторінка не знайдена на цьому сервері - -- cakePHP "The requested URL was not found on this server" CakePHP "Сторінка не знайдена на цьому сервері" - -- error, requested url was not found on this server помилка Сторінка не знайдена на цьому сервері - -- Not Found The requested URL / was not found on this server. Не знайдено Потрібну URL / не знайдена на цьому сервері. - -- the requested url was not found on this server apache Сторінка не знайдена на цьому сервері Apache - -- apache server status not found Статус сервера Apache не знайдені - -- apache server status 404 Статус сервера Apache 404 - -- requested url was not found on this server Сторінка не знайдена на цьому сервері - -- Server Status 404 Статус сервера 404 - -- apache server-status not working Apache Server статус не працює - -- The requested URL was not found on this server Сторінка не знайдена на цьому сервері - -- not found the requested url was not found on this server. Не знайдена Сторінка не знайдена на цьому сервері. - -- "The requested URL /server-status was not found on this server." "Потрібну URL / сервер-статус не був знайдений на цьому сервері". - -- server-status vhost Сервер статус Vhost - -- apache server-status virtual host Apache Server статус віртуального хоста - -- the requested url server-status was not found on this server. Запитувана сторінка сервера-статус не був знайдений на цьому сервері. - -- apache server status url Apache Статус URL сервера - -- apache server-status page not found Apache сервера статусу, не знайдено - -- The requested URL / was not found on this server. Запитувана сторінка / не знайдена на цьому сервері. - -- the requested url not found on this server. Сторінка не знайдена на цьому сервері. - -- The requested URL /help/maps/street view/ was not found on this server. Запитувана сторінка / Допомога / Карта / Street View / не знайдена на цьому сервері. - -- apachectl status apachectl статус - -- requested url not found on the server Сторінка не знайдена на сервері - -- The requested URL is not supported Сторінка не підтримується - -- The requested URL /WebApplication1/ was not found on this server Запитувана сторінка / WebApplication1 / не знайдена на цьому сервері - -- The requested URL / was not found on this server.Apache/2.2.12 (Ubuntu) Server Запитувана сторінка / не знайдена на цьому server.Apache/2.2.12 (Ubuntu) Server - -- he requested URL /server-status was not found on this server. Він просив URL / сервер-статус не був знайдений на цьому сервері. - -- 404 not found apache 404 Not Found Apache - -- how to fix the error request URl not supported Як виправити помилку URL запиту не підтримується - -- Not Found The requested URL /$url was not found on this server. Не знайдено Потрібну URL / $ URL не знайдено на цьому сервері. - -- The requested URL /server-status was not found on this server. Запитувана сторінка / сервер-статус не був знайдений на цьому сервері. - -- apache 404 not found Apache 404 Not Found - -- NOT FOUND The requested URL was not found on this server НЕ ЗНАЙДЕНО Сторінка не знайдена на цьому сервері - -- Not Found The requested URL / was not found on this server. Не знайдено Потрібну URL / не знайдена на цьому сервері. - -- server-status not found Сервер-статус не знайдено - -- apache:The requested URL was not found on this server. Apache: Сторінка не знайдена на цьому сервері. - -- Not Found The requested URL /help.php was not found on this server. Не знайдено Потрібну URL / help.php не знайдено на цьому сервері. - -- he requested URL / was not found on this server. Він просив URL / не знайдена на цьому сервері. - -- server not found apache Сервер не знайдено Apache - --