TAILIEUCHUNG - Apache Server 2 Bible Hungry Minds phần 2

Sau khi bạn đã tùy chỉnh , bạn đã sẵn sàng để chạy các máy chủ. Đối với phần này, tôi giả sử rằng bạn đã lời khuyên của tôi (có nghĩa là, thiết lập - tiền tố / usr / local / apache) trong chương trước. Nếu bạn không có lời khuyên của tôi, sau đó hãy chắc chắn rằng bạn thay thế tất cả các tài liệu tham khảo | 50 Part I Getting Started AddDefaultCharset AddDefaultCharset should be set to the character set that best suits your local needs. If you do not know which character set you should use you can leave the default alone find out which character set you should use and change the default later. Starting and Stopping Apache After you have customized you are ready to run the server. For this section I assume that you took my advice that is setting - -prefix to usr local apache in the previous chapter. If you did not take my advice then make sure that you replace all references to usr local apache to whatever is appropriate in the following discussion. Starting Apache Run the usr local apache bin apachectl start command to start the Apache Web server. If apachectl complains about syntax errors you should fix the errors in file and retry. Also check the ErrorLog log file that is usr local apache logs error_log for error messages if any . If you see errors in the log file you need to fix them first. The most common errors are Not running the server as the root user. You must start Apache as the root user. After Apache is started it will spawn child processes that will use the User and Group directives-specified UID and GID. Most people are confused by this issue and try to start the server using the user account specified in the User directive. Apache complains about being unable to bind to an address. Either another process is already using the port that you have configured Apache to use or you are running httpd as a normal user but trying to use a port below 1024 such as the default port 80 . Missing log file paths. Make sure that both ErrorLog and CustomLog paths exist and are not writable by anyone but the Apache server. Configuration typo. Anytime you change the configuration file run usr local apache apachectl configtest to verify that you do not have a syntax error in the configuration file. Tip The quickest way to check whether the .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.