TAILIEUCHUNG - Hardening Apache by Tony Mobily phần 6

Đăng nhập tập tin cho bạn thấy những gì daemon của bạn đang làm. Từ một góc độ an ninh, các file log của Apache được sử dụng: yêu cầu đăng nhập và các trang phục vụ để xác định yêu cầu "đáng ngờ". Đăng nhập Apache của thông tin thêm, chẳng hạn như các lỗi và cảnh báo. Những thông tin này là rất | In the version I used the installation process copied the file in usr local apache1 libexec and added the necessary directives for the module s activation in the file. Make sure that your file contains the following line LoadModule unique id module LoadModule setenvif module . LoadModule parmguard module libexec mod unique libexec mod libexec mod In Apache you will also need to enable the module with an AddModule option . AddModule mod AddModule mod Your module should now be ready to use. Using the Module Configuring the module from Apache s point of view is extremely simple because it only has three directives. The important part is the module s configuration file which is based on XML and is the heart of mod_parmguard. Configuring the Module in Apache mod_parmguard has only two server-level directives ParmguardConfFile and ParmguardTrace and one location-wide directive ParmguardEngine . They are discussed in the following sections. ParmguardConfFile This directive sets the location for the module s configuration file. In this case it would be usr local apache1 conf mod IfModule mod ParmguardConfFile usr local apache1 conf mod IfModule You should have at least a minimal file set up. Here is an example xml version DOCTYPE parmguard SYSTEM mod parmguard -- requested action when there is a mismatch -- global name scan_all_parm value 1 global name illegal_parm_action value accept log setenv parmguard For now don t worry about the meaning of the options in this file. You must also remember to copy the file in the same directory as otherwise the XML parser will complain and won t let Apache start root@merc mod cd conf root@merc conf cp usr local apache1 conf root@merc conf If you are an XML guru you might be interested in reading .

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.