Request URL /server-status or 404 Page Not Found Apache Error URL požiadavky / server-status alebo 404 Page Not Found Rýchlo Dlh
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: Vo webovom serveri Apache, keď správca chce skontrolovať stav server Apache s príkazom "apachectl štatút" alebo "service httpd fullstatus" na riadku shellu, môže dôjsť k nasledujúcej chybe:
Not Found Not Found
The requested URL /server-status was not found on this server. Požadovaná adresa URL / server-status, nebola nájdená na tomto serveri.
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. Ak máte požiadať o štatút Apache z webovej stránky zobrazením http://domain_name/server-status článok lokalizácia, 404 blok nie liať dlh bude vrátená do webového prehliadača.
There are several reasons why this problem can occurred. Existuje niekoľko dôvodov, prečo sa tento problém môže došlo. First thing to check is to ensure that the mod_status status handler is properly setup and loaded in httpd.conf configuration file. Prvá vec, na kontrolu je zabezpečiť, aby mod_status stav psovod so správne nastaviť a načítať v konfiguračnom súbore httpd.conf. Using APXS, the following 2 lines must exist: Použitie APXS, musia existovať nasledujúce 2 riadky:
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. Ak sa riadky existuje, problém pravdepodobne leží na virtuálnych hostiteľov vyhlásenie. 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): Ako okrajová poznámka, môžete tiež skontrolovať, či je stav psovoda bola aktivovaná zobraziť viac informácií (ale spomalí zaneprázdnený server) a umiestnili nasledujúci riadok v httpd.conf (štandardne vypnuté):
ExtendedStatus On Na ExtendedStatus
For virtual host for server-status, ensure that the following line exists in your Apache configuration file: Pre virtuálny hostiteľa pre server-status, aby nasledujúce riadky existuje vo vašom konfiguračnom súbore Apache:
SetHandler server-status SetHandler server-status
Order allow,deny Aby povoliť, zakázať
Deny from all Deny from all
Allow from localhost Allow from 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. Môžete zmeniť localhost názov vašej domény ako. Example.com (vrátane bodka v prednej časti domény), aby umožnil prístup z domény adresu. Else localhost restrict access doesn't allow public access to server-status, and only command shell access locally is possible. Else localhost obmedziť prístup neumožňuje prístup verejnosti k server-status, a to len príkazového prístupu na miestnej úrovni je možné.
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. Všimnite si, že aj ak použijete NameVirtualHost *: 80 smernice, alebo akékoľvek *: port smernice spustiť viacnásobný virtuálne počítače, toto nastavenie neumožňuje server-status na niektorom z verejne prístupných adries. 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. Dôvodom je, že prvý virtuálny Hosť v smernici je považovaný za "Default Virtual Host", a neznáme údaje o NameVirtualHost miesto, kedykoľvek používateľ alebo proces pokúsi o prístup k portu 80 na akékoľvek IP adresy, bude smerovať do tohto virtuálneho hostiteľa ako predvolenú . Hence the 404 page not found error is returned. Odtiaľ 404 blok nie liať dlh je vrátený. Furthermore the server-status configuration cannot be placed inside of a VirtualHost directive to be read from a full domain name. Okrem toho server-status konfiguráciu nemožno umiestniť dovnútra smernice VirtualHost sa čítať z celej doménové meno.
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. Existujú 2s riešenia a riešenia pre tento prípad, a to buď tým, že server počúvať na alternatívne port (napr. port 8080), alebo umožní len vnútornú alebo miestny prístup.
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. Ak chcete zmeniť na iný port, len dodal: "Počúvaj 8080" na konfiguráciu, a máte prístup na server stav od externých pomocou http://domain:8080/server-status v ľubovoľnom webovom prehliadači.
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. Ak chcete povoliť len miestny prístup príkazy ako 'apachectl status' alebo 'service httpd fullstatus', proste každý switch * na skutočnú IP adresu za prácou z, potom prístup z localhost (127.0.0.1) bude fungovať.
For example, change from: Napríklad zmena:
NameVirtualHost *:80 NameVirtualHost *: 80
to do
NameVirtualHost 10.0.0.3:80 NameVirtualHost 10.0.0.3:80
Once configuration file is modified correctly, restart Apache HTTPD server. Akonáhle konfiguračný súbor je upravený správne, reštartujte Apache HTTPD servera.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: stránka je stroje preložené a za predpokladu, "ako je" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Nájdete na original English article originál Anglicky artikl whenever possible. ak je to možné.
Related Articles Súvisiace články
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Apache Status (WHM-server-status) do cPanel webhost Vracia Manager prázdna strana
- cPanel WHM Failed to Receive Status Information From Apache Error cPanel WHM v štychu až k Dostať Stavové informácie od Apache Error
- Apache Warn NameVirtualHost *:80 Has No VirtualHosts Error When Start Rýchlo Varovať NameVirtualHost *: 80 Už žiadne VirtualHosts Dlh Kedy Štart
- winnt_accept: Asynchronous AcceptEx failed Error in Apache Log winnt_accept: Asynchronous AcceptEx zlyhalo Chyba v Apache Log
- Fix Internal Server Error When Accessing Easy Apache in cPanel WebHosting Manager Fix Internal Server Error pri prístupe Jednoduché Apache do cPanel WebHosting Manager
- Improve Apache Web Server Security: Use ServerTokens and ServerSignature to Disable Header Zlepšiť Apache Web Server Security: Používajte ServerTokens a ServerSignature k Oslabit Header
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Inštalácia webového servera vo FreeBSD 6.0 s Rýchlo 2.2, MySQL 5.0 a PHP 5 - 4. časť
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Inštalácia webového servera vo FreeBSD 6.0 s Rýchlo 2.2, MySQL 5.0 a PHP 5 - 5. časť
- Running apachectl status Returns lynx: not found Error Beh apachectl lynx Vracia status: not found Error
- FreeBSD Apache HTTP Accept Filter Error Volňásek Rýchlo HTTP Prijať filtrom Dlh










































December 28th, 2007 02:23 28.prosince 2007 02:23
You can still visit even though SSL certificate is expired. Stále môžete navštíviť aj keď SSL certifikátu vypršala. Just accept the security warning. Stačí prijať bezpečnostné varovanie. Looks like your site is having configuration error on web server, probably virtual hosts or redirection error. Vyzerá to, že vaše stránky s konfiguráciou chyba na webovom serveri, pravdepodobne virtuálnych hostiteľov alebo presmerovanie chyba.
December 28th, 2007 01:37 28.prosince 2007 01:37
Hi, Nazdar,
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 !! Dúfam, že vám dont myseľ mi po vás, ale ja som bol na Google vyhľadať nejakú pomoc, ako som úplne prilepené - a potom som ťa našiel!
My website went down about 3 weeks ago and I cant get in touch wih the man who set my site up for me. Moje webové stránky išiel asi 3 týždne a ja dotírat dostať do kontaktu wih muža, ktorý nastaví mojej stránky na mňa.
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. Snažím sa dostať na moje stránky a jej len povedať, že vypršala platnosť certifikátu, ale Neviem, čo mám robiť.
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. Som zúfalý o pomoc, ale nie som moc dobrý v počítačoch, takže dont pochopiť všetky 'žargón' a prípadné poradenstvo by bolo potrebné jednoduchým spôsobom.
I would be very very grateful if you could point me in the right direction. Bol by som veľmi vďačný, keby ste namiesto mňa správnym smerom.
Thanks hopefully, Thanks dúfajme,
Lynda Lynda