Request URL /server-status or 404 Page Not Found Apache Error בקשת כתובת / שרת מעמד או 404 דף לא נמצא שגיאה אפאצ 'י
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, כאשר מנהל רוצה לבדוק את מצב השרת אפאצ 'י עם הפקודה "מעמד apachectl" או "fullstatus שירות httpd" פגז לעבר הפקודה, השגיאה הבאה עלולה להתרחש:
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. אם תבקש מעמד אפאצ 'י מן דף האינטרנט על ידי הצגת מיקום הקישור 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 Status_module LoadModule / path / to / Apache / מודולים / 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: עבור מארח וירטואלי שרת מעמד, להבטיח את השורה הבאה קיימת בקובץ התצורה אפאצ 'י שלך:
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. באפשרותך לשנות את localhost ל שם תחום כמו שלך. 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 מעמד 'או' שירות fullstatus httpd ', פשוט לעבור כל * כתובת ה-IP כדי לעבוד בפועל, ולאחר מכן הגישה מ localhost (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. פעם קובץ הקונפיגורציה השתנה בצורה נכונה, מחדש את אפאצ 'י שרת 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. בכל הזדמנות אפשרית.
Related Articles מאמרים קשורים
- Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page סטטוס אפאצ 'י (WHM-Server-מעמד) ב cPanel החזרות מנהל למארח דף ריק
- cPanel WHM Failed to Receive Status Information From Apache Error cPanel WHM נכשלה לקבל מעמד אפאצ 'י מידע מאת שגיאה
- Apache Warn NameVirtualHost *:80 Has No VirtualHosts Error When Start אפאצ 'י NameVirtualHost הזהר *: 80 אין שגיאה VirtualHosts תאריך התחלה
- winnt_accept: Asynchronous AcceptEx failed Error in Apache Log winnt_accept: Asynchronous AcceptEx נכשל שגיאה ב-Apache התחבר
- Fix Internal Server Error When Accessing Easy Apache in cPanel WebHosting Manager תקן Internal Server Error אפאצ 'י בעת גישה נוחה במנהל WebHosting cPanel
- Improve Apache Web Server Security: Use ServerTokens and ServerSignature to Disable Header שרת האינטרנט אפאצ 'י לשפר את האבטחה: השתמש ServerTokens ו ServerSignature כדי השבת כותרת
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 התקנת שרת אינטרנט ב FreeBSD 6.0 עם Apache 2.2, MySQL 5.0 ו-PHP 5 - חלק 4
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 התקנת שרת אינטרנט ב FreeBSD 6.0 עם Apache 2.2, MySQL 5.0 ו-PHP 5 - חלק 5
- Running apachectl status Returns lynx: not found Error הפעלת apachectl החזרת המצב Lynx: לא נמצא שגיאה
- FreeBSD Apache HTTP Accept Filter Error FreeBSD Apache HTTP קבל מסנן שגיאה










































December 28th, 2007 02:23 28 דצמבר 2007 02:23
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. נראה כמו האתר שלך לאחר שגיאת תצורה בשרת האינטרנט, המארחים כנראה וירטואלי שגיאה או ניתוב מחדש.
December 28th, 2007 01:37 28 דצמבר 2007 01:37
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 לינדה