Đang chuẩn bị liên kết để tải về tài liệu:
Hardening Apache by Tony Mobily phần 6

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Đă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 mod_parmguard.so in usr local apache1 libexec and added the necessary directives for the module s activation in the httpd.conf file. Make sure that your httpd.conf file contains the following line LoadModule unique id module LoadModule setenvif module . LoadModule parmguard module libexec mod unique id.so libexec mod setenvif.so libexec mod parmguard.so In Apache 1.3.x you will also need to enable the module with an AddModule option . AddModule mod setenvif.c AddModule mod parmguard.c 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 parmguard.xml IfModule mod parmguard.c ParmguardConfFile usr local apache1 conf mod parmguard.xml IfModule You should have at least a minimal mod_parmguard.xml file set up. Here is an example xml version 1.0 DOCTYPE parmguard SYSTEM mod parmguard.dtd 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 mod_parmguard.dtd in the same directory as mod_parmguard.xml otherwise the XML parser will complain and won t let Apache start root@merc mod parmguard-1.2 cd conf root@merc conf cp mod_parmguard.dtd usr local apache1 conf root@merc conf If you are an XML guru you might be interested in reading .

Đã 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.