Apache Status (whm-server-status) in cPanel WebHost Manager Returns Blank Page Tình trạng Apache (WHM-server-status) trong cPanel WebHost Returns đốc Blank Trang
When webmaster uses WebHost Manager (WHM) to manage a cPanel-based web hosting package, he or she may encounters the problem that the Apache Status under the section of Server Status returns black page or blank screen with just the default cPanel WHM control center header. Khi sử dụng webmaster WebHost Manager (WHM) để quản lý một cPanel dựa trên web trọn gói, em có thể gặp các vấn đề mà các trạng Apache dưới phần của Server Tình trạng trở về trang đen hoặc màn hình trống chỉ với các tiêu đề mặc định cPanel WHM trung tâm kiểm soát . In Apache error log (error_log file normally located in /etc/httpd/logs or /usr/local/apache/logs directory), the “[error] [client 127.0.0.1] File does not exist: /usr/local/apache/htdocs/whm-server-status” error message will be found. Trong nhật ký lỗi Apache (error_log tập tin bình thường nằm trong / etc httpd / / nhật ký hoặc / usr / local / apache / ghi thư mục), các "[error] [client 127.0.0.1] File không tồn tại: / usr / local / apache / htdocs / WHM-server-tình trạng "báo lỗi sẽ được tìm thấy. The reason and cause of this error is due to misconfiguration of Apache HTTPD web server configuration file. Lý do và nguyên nhân gây ra lỗi này là do Lỗi cấu của Apache httpd tập tin cấu hình máy chủ web.
On a new cPanel web host, the Apache configuration file (httpd.conf) will be configured to set location of /whm-server-status to be handled by server-status feature of Apache. Trên một máy chủ web mới cPanel, các tập tin cấu hình Apache (httpd.conf) sẽ được cấu hình để thiết lập vị trí của / WHM-server-tình trạng được xử lý bởi máy chủ tính năng tình trạng của Apache. If this few lines of code is removed, Apache no longer know what to do when WHM trying to access /whm-server-status, just like when you remove or delete an alias or virtual host configuration, the alias or vhost no longer be accessible. Nếu đây vài dòng mã được loại bỏ, Apache không còn biết phải làm gì khi WHM đang cố gắng truy cập / WHM-server-tình trạng, giống như khi bạn loại bỏ hoặc xóa một bí danh hoặc cấu hình máy chủ ảo, bí danh hoặc vhost không còn có thể truy cập .
To solve the error, simply add the following lines to httpd.conf file, normally located in /etc/httpd/conf or /usr/local/apache/logs. Để giải quyết các lỗi, chỉ cần thêm những dòng sau vào tập tin httpd.conf, thường nằm trong / etc httpd / / apache / conf hoặc / usr / local / log. These lines are by default added before the virtual hosts declaration. Những dòng này là mặc định được gửi trước khi khai báo máy chủ ảo.
<Location /whm-server-status> <Location /whm-server-status>
SetHandler server-status SetHandler server-status
Order deny,allow Đặt hàng từ chối, cho phép
Deny from all Từ chối tất cả
Allow from 127.0.0.1 Cho phép từ 127.0.0.1
</Location> </ Vị trí>
ExtendedStatus On ExtendedStatus Trên
The last line, ExtendedStatus On tells Apache tol generate “full” status information instead of just basic information when the “server-status” handler is called. Dòng cuối cùng, ExtendedStatus Ngày nói Apache tol tạo "đầy đủ thông tin tình trạng" thay vì chỉ thông tin cơ bản khi máy chủ "-tình trạng xử lý" được gọi.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Quan trọng: Sửa là máy dịch và cung cấp "như là" không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể khó hiểu. Please refer to Vui lòng tham khảo original English article bản gốc tiếng Anh bài viết whenever possible. bất cứ khi nào có thể.
Related Articles Bài viết liên quan
- cPanel WHM Failed to Receive Status Information From Apache Error cPanel WHM Không Nhận Tình trạng thông tin từ Apache Error
- Request URL /server-status or 404 Page Not Found Apache Error Yêu cầu URL / server-status hoặc 404 Không tìm thấy trang Apache Error
- Fix Internal Server Error When Accessing Easy Apache in cPanel WebHosting Manager Internal Server Error Fix Khi Truy cập dễ dàng Apache trong cPanel WebHosting Manager
- How to Add IP Addresses to Server with cPanel WebHost Manager (WHM) Làm thế nào để Thêm Địa chỉ IP cho máy chủ với cPanel WebHost Manager (WHM)
- Account Locks Out Due to Brute Force Protection in cPanel WebHost Manager (WHM) Khóa tài khoản Out Do Brute Force Protection trong cPanel WebHost Manager (WHM)
- Running apachectl status Returns lynx: not found Error Chạy apachectl tình trạng nhận lynx: Không tìm thấy lỗi
- Starting Apache HTTPD Failed Due to Cannot Open or No Such mod_bwlimited, mod_log_bytes or mod_bandwidth Files Bắt đầu từ Apache httpd Không Do không thể mở hay không mod_bwlimited, mod_log_bytes như vậy hay mod_bandwidth Files
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 5 Cài đặt Web Server trong FreeBSD 6,0 với 2,2 Apache, MySQL 5.0 và PHP 5 - Phần 5
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 4 Cài đặt Web Server trong FreeBSD 6,0 với 2,2 Apache, MySQL 5.0 và PHP 5 - Phần 4
- Improve Apache Web Server Security: Use ServerTokens and ServerSignature to Disable Header Cải thiện Apache Web Server Security: Sử dụng ServerTokens và ServerSignature để Disable Header










































June 22nd, 2008 00:39 Ngày 22 Tháng Sáu 2008 00:39
site busy no look canada ibm busy mail apple deliver cube look university black trang web bận rộn không có canada nhìn ibm bận rộn thư táo cung cấp trường đại học nhìn khối đen
September 17th, 2007 22:48 Ngày 17 tháng 9 năm 2007 22:48
[...] The error message only appears on cPanel 11, whereas in earlier version of cPanel, a blank page is returned. [...] Các thông báo lỗi chỉ xuất hiện trên cPanel 11, trong khi ở phiên bản cũ của cPanel, một trang trống được trả lại. [...] [...]