1. install LAMP and the compiling environment # Apache 2.2.5 # Mysql 5.1.6 # install apache + php + mysql # yum-y install httpd php mysql-server php-mysql environment # yum install gcc make # yum install libxml2 libxml2-devel httpd-devel pcre-devel curl-devel start service test # service httpd start # service mysqld start note: iptables is required to allow all IP addresses to access port 80. 2. Install mod_security to download the source code from the official website, compile and install mod_s
Install modsecurity:
sudo apt-get install libxml2 libxml2-dev libxml2-utils libaprutil1 libaprutil1-dev libapache-mod-security
If your Ubuntu is 64bit, you need to fix a bug:
sudo ln -s /usr/lib/x86_64-linux-gnu/libxml2.so.2/usr/lib/libxml2.so.2
Configure modsecurity:
sudo mv /etc/modsecurity/modsecurity.con
ModSecurity is a free and open-source Apache module that can act as WAF ). It has rich features, powerful communities, and business support options. Therefore, it is essential for any production Apache Web server that provides non-static content and needs to be reviewed.
The main function of ModSecurity is to provide reliable protection and stay away from various online threats. It does not shift the focus
platform: Ubuntu 14.04First step: Install ApacheI recommend installing Apache with Apt-get installation, so you can have a lot less library support!!!! If it's not too much trouble, you can install it by source.Input Apt-get Install Apache2If you are prompted to update the package without this package apt-get install updateThis step is installed after the Apache will be able to provide services, enter 127.0.0.1 can access the local siteStep Two: Install ModsecurityThis is also the same as the to
Install Apache + ModSecurity in Ubuntu 14.04
Platform: Ubuntu 14.04
Step 1: install apache
It is recommended that you use apt-get to install Apache, so that many libraries are supported !!!! If it is not too troublesome, you can use the source code for installation.
Enter apt-get install apache2
Update the apt-get install update package if you are prompted that this package does not exist.
After this step is installed, apache can provide services. Inp
Platform: Ubuntu14.04 Step 1: install apache. I suggest you install Apache with apt-get. This will reduce the number of libraries !!!! If it is not too troublesome, you can use the source code to install the input apt-getinstallapache2 if the prompt does not have this software package, update the software package apt-getinstallupdate. After this step is installed, apache can provide services, enter 127.0.0.1 to access this
Platform: Ubuntu 14.04
Step 1: install apache
It is recommended that you
ModSecurity is an engine for intrusion detection and prevention. It is mainly used for Web applications and can also be called Web application firewall. it can be run as a module or a separate application of the Apache Web server. ModSecurity aims to enhance the security of Web applications and protect Web applications from known and unknown attacks. This article mainly introduces the idea of an open source
Before reading this article, I would like to briefly understand what ModSecurity is, And ModSecurity is an engine for intrusion detection and prevention. It is mainly used for Web applications, so it can also be called Web application firewall. I believe many commercial WAF signature developers have also referred to the ModSecurity rules.
Background:
Last week, t
Modsecurity is an intrusion detection and blocking engine that is primarily used for Web applications so it can also be called a Web application firewall. It can be run as a module of the Apache Web server or as a separate application. The purpose of modsecurity is to enhance the security of Web applications and protect Web applications from known and unknown attacks. This paper mainly introduces the idea o
Example of modsecurity rule syntaxSecrule is a modsecurity the primary directive, which is used to create security rules. The basic syntax is as follows:Secrule VARIABLES OPERATOR [ACTIONS]
VARIABLESRepresentative HTTP The identity item in the package that specifies the object that the security rule targets. Common variables include:ARGS(all request parameters),files(all file names), and so on.
OPERA
It is best to install under the root account, Baidu ubuntu14.04 root can see a tutorial, written in very detailed, very convenientInstalling Apache2This installation uses Apt-get installationApt-get Install Apache2When the last face appears* Starting Web server Apache2 AH00558:apache2:Could not reliably determine the server ' s fully qualified domain name, USI Ng 127.0.1.1. Set the ' ServerName ' directive globally to suppress this message*Processing triggers for Libc-bin (2.19-0UBUNTU6) ...Proc
Release date:Updated on:
Affected Systems:Modsecurity Description:--------------------------------------------------------------------------------CVE (CAN) ID: CVE-2013-5705ModSecurity is a Web application server.ModSecurity versions earlier than 2.7.6 are available in the "modsecurity_tx_init ()" function (apache2/modsecurity. c) there is an error in implementation. Malicious users can exploit this vulnerability to bypass HTTP request processing by
Release date:Updated on:
Affected Systems:Sourceforge mod-security 2.xDescription:--------------------------------------------------------------------------------ModSecurity for Apache is a plug-in for the Apache Web server platform.
A security vulnerability exists in versions earlier than ModSecurity 2.70. when parsing multiple requests, malicious users can bypass certain filter rules.
Link: http://secu
The ModSecurity development team has fixed the DoS vulnerability, which can cause attackers to crash the firewall and execute forceRequestBodyVariable and an unknown content type by attacking HTTP requests, resulting in a null pointer reference.
This issue can be fixed by upgrading the program to version 2.7.4. This version also fixes some minor bugs and libinjection to identify SQL injection attacks, at the same time, the development team also annou
Tags: 1.5 project editing compilation installation install Cal English Learning nbsp Quick ReadingEveryone knows it is important to learn the Linux system, to find the Man Handbook Help, but the default Linux man manual is an English document, it is important to quickly read the English men, but the configuration of Chinese men can also allow themselves to learn faster! Of course, we can not stop learning English!1. Go to the official website to downl
This is a hands-on manual that anyone can use to learn the front end, outlining and discussing the practice of front-end engineering: What to learn and what to do in practice.There are two purposes for writing the handbook: one is to provide professional resources for potential and ongoing front-end developers, including learning materials and development tools; The second is that the handbook can be used b
Tags: des http io java ar strong for art CTIBook DescriptionThe seventh edition of the Enterprise Java platform is aimed in helping Java engineers take advantage of the advancements In HTML5 and web standards. Web Sockets, asynchronous input and output with servlets, and strong type safety through the CDI containers would ensure th At Java EE 7 remains popular for server-side applications.If you were a user aiming to get acquainted with the Java EE 7 platform, this book is for you. Java EE 7
Friends familiar with Citrix XenDesktop and XenApp products know that Citrix officials will write a virtual Handbook Handbook based on the latest product versions, with comprehensive and detailed descriptions of product architecture, design logic, resource allocation, network performance, and more.However, with Citrix starting from 2016 to provide LTSR and CR two models, Virutal
The use of Man Handbook in Linux--taking CentOS6.8 as an exampleThis article is intended to show you how to quickly start a new command in Linux, after all, in a Linux system, you can do everything by command.Related commands: Help mans Whatis Info#whatisA friend with a certain understanding of English, should be very familiar with the word is two words, like "what", so for a less familiar command, you can first use this command to view, such as input
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.