Request URL /server-status or 404 Page Not Found Apache Error Pieprasījums URL / server-status vai 404 Page Not Found Apache Kļūda
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: In Apache Web serveri, ja administrators vēlas pārbaudīt Apache servera statusu ar komandu "apachectl statusu" vai "dienesta httpd fullstatus" pie korpusa uzvednē šādu kļūdu var rasties:
Not Found Not Found
The requested URL /server-status was not found on this server. Pieprasītā URL / server-status netika atrasta uz šī servera.
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. Ja jūs pieprasāt Apache statusu no mājas lapas, skatoties http://domain_name/server-status Link Location, 404 lapas nav atrasta kļūda, tiek atgriezta ar interneta pārlūku.
There are several reasons why this problem can occurred. Ir vairāki iemesli, kāpēc šī problēma var noticis. First thing to check is to ensure that the mod_status status handler is properly setup and loaded in httpd.conf configuration file. Vispirms pārbaudi, lai nodrošinātu, ka mod_status statuss apdarinātājs ir pareizi uzstādījumi un ielādes httpd.conf konfigurācijas failā. Using APXS, the following 2 lines must exist: Izmantojot APXS, turpmāk 2 līnijām jābūt pastāv:
LoadModule status_module /path/to/apache/modules/mod_status.so LoadModule status_module / path / to / 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. Ja līnijas nav, problēma droši vien ir par virtuālo uzņēmēja deklarāciju. 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): Kā pusē, ņemiet vērā, varat arī pārbaudīt, vai statuss apdarinātājs ir aktivizēta, lai parādītu vairāk informācijas (bet palēninās aizņemts serveris), izvietojot šādu rindu httpd.conf (noklusējums ir izslēgts):
ExtendedStatus On ExtendedStatus On
For virtual host for server-status, ensure that the following line exists in your Apache configuration file: Virtuālā uzņēmējas servera statusu, nodrošināt, ka šādas līnijas pastāv jūsu Apache konfigurācijas failu:
SetHandler server-status SetHandler server-status
Order allow,deny Lai ļautu liegt
Deny from all Aizliegt no visiem
Allow from localhost Atļaut no 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. Jūs varat nomainīt localhost uz savu domēna vārdu, piemēram,. Example.com (arī dot pie domēna), lai varētu piekļūt no domēna adresi. Else localhost restrict access doesn't allow public access to server-status, and only command shell access locally is possible. Else localhost ierobežotu piekļuvi liedz sabiedrības pieeju servera statusu, un tikai komanda apvalks vietējās piekļuves ir iespējams.
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. Konstatē, ka arī tad, ja lietojat NameVirtualHost *: 80 direktīvai, vai jebkura *: ostu direktīvas darbināt vairākas vārdu, ņemot virtuālais hosts, šī konfigurācija neļauj servera statusu kādu publiski pieejamu adreses. 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. Iemesls ir tāds, ka pirmā Virtual Host šajā direktīvā uzskata par "Default Virtual Host", un jebkādiem nezināmiem ieraksti NameVirtualHost telpa, ja lietotājs vai procesu mēģina piekļūt ostas 80 par jebkuru IP adresi, dosies uz šo virtuālo uzņēmēju pēc noklusējuma . Hence the 404 page not found error is returned. Tātad 404 lapas nav atrasta kļūda, tiek atgriezta. Furthermore the server-status configuration cannot be placed inside of a VirtualHost directive to be read from a full domain name. Turklāt servera statusu, konfigurāciju nevar ievietot iekšpusē VirtualHost direktīvu, lai varētu nolasīt pilnu domēna nosaukumu.
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. Ir 2s risinājumu un workarounds šim scenārijam, izgatavojot serveris klausīties par alternatīvu ostā (piemēram, 8.080 osta), vai ļaut tikai iekšējai vai vietējo piekļuvi.
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. Lai mainītu uz citu ostu, vienkārši pievienojot "Klausieties 8.080", lai konfigurāciju, un jūs varat piekļūt servera statusu no ārējiem izmantojot http://domain:8080/server-status jebkurā interneta pārlūkprogrammā.
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. Dot tikai vietējo piekļuvi komandas, piemēram, "apachectl stāvokļa" vai "pakalpojumu httpd fullstatus", vienkārši mainīt katru *, lai faktisko IP adresi uz darbu no tam piekļūt no localhost (127.0.0.1) strādās.
For example, change from: Piemēram, mainīt no:
NameVirtualHost *:80 NameVirtualHost *: 80
to uz
NameVirtualHost 10.0.0.3:80 NameVirtualHost 10.0.0.3:80
Once configuration file is modified correctly, restart Apache HTTPD server. Kad konfigurācijas fails ir modificēts pareizi, restart Apache httpd serveri.
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache statuss (WHM-server-status) cPanel WebHost Manager Atgriež tukšu lapu
- cPanel WHM Failed to Receive Status Information From Apache Error cPanel WHM nav saņēmuši informāciju par statusu No Apache Kļūda
- Apache Warn NameVirtualHost *:80 Has No VirtualHosts Error When Start Apache Warn NameVirtualHost *: 80 Has No VirtualHosts kļūdu Sākums
- winnt_accept: Asynchronous AcceptEx failed Error in Apache Log winnt_accept: Asynchronous AcceptEx nav kļūda Apache Log
- Fix Internal Server Error When Accessing Easy Apache in cPanel WebHosting Manager Fix Internal Server Error, piekļūstot Easy Apache cPanel WebHosting Manager
- Improve Apache Web Server Security: Use ServerTokens and ServerSignature to Disable Header Uzlabot Apache Web Server Security: Izmanto ServerTokens un ServerSignature atspējot Header
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Instalēšana Web Server 6.0 FreeBSD ar 2.2 Apache, MySQL 5.0 un PHP 5 - Part 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Instalēšana Web Server 6.0 FreeBSD ar 2.2 Apache, MySQL 5.0 un PHP 5 - Part 5
- Running apachectl status Returns lynx: not found Error Running apachectl status Returns lynx: nav atrasts kļūda
- FreeBSD Apache HTTP Accept Filter Error FreeBSD Apache HTTP Accept Filtrs Kļūda










































December 28th, 2007 02:23 Decembris 28, 2007 02:23
You can still visit even though SSL certificate is expired. Jūs varat apmeklēt pat SSL sertifikāts ir beidzies. Just accept the security warning. Tikai pieņemt drošības brīdinājumu. Looks like your site is having configuration error on web server, probably virtual hosts or redirection error. Izskatās, ka jūsu vietne, kam konfigurācijas kļūda interneta serveri, iespējams, virtuālo hosts vai redirection kļūda.
December 28th, 2007 01:37 Decembris 28, 2007 01:37
Hi, Čau,
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 !! Es ceru, ka jūs dont prātā man jautā jums, bet es esmu meklējis Google kāda palīdzība, kā es esmu pilnīgi iestrēdzis - un tad es atradu jūs!
My website went down about 3 weeks ago and I cant get in touch wih the man who set my site up for me. Mana mājas lapa samazinājās par aptuveni 3 nedēļas pirms un nevaru sazināties ar noteikto cilvēks, kas, kas mana vieta izveidota par mani.
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. Es mēģinu nokļūt uz manu lapu un tā tikai man saki, ka sertifikātam ir beidzies, bet es dont zināt, ko darīt.
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. Es esmu izmisis pēc palīdzības, taču neesmu pārāk laba datoros tik dont saprast visus "Lingo", un jebkuru padomu vajadzētu būt vienkāršiem noteikumiem.
I would be very very grateful if you could point me in the right direction. Es būtu ļoti ļoti pateicīgs, ja Jūs varētu norādīt mani pareizajā virzienā.
Thanks hopefully, Paldies cerams,
Lynda Lynda