Conditional tests can be returned if they are true or false.Use double quotation marks when comparing strings, and if the variables are not there may be an error.Permissions, who execute on who has permissionA script is a stack of commands that you
Use the Mod_Security and Mod_evasive modules to protect Apache (1)
For people in the host hosting industry, or if you host your own server and expose the server to the Internet, protecting the system from attackers is a top priority.
Mod_security
Concurrent?Maximum number of connections that can be processed by the server at the same time (some requests end in 1 seconds, and some requests can be completed in 10 seconds)Mainstream Internet Web serverStatic:Apache, Nginx, lighttpdDynamic:IIS
Apache is the most common and popular Web server, which is necessary for research and use.First, install and configure ApacheInstalling ApacheYum Install httpd Httpd-toolsApche Related configuration FilesManage and control ApacheSystemctl
Figure-LAMP
With LAMP, I thoughtLAMP SecuritySecurity is a must! Let's see how I did it!
ApacheAspect:
1. Modify banner
Compile the source code and modify the default banner.
ServerTokens ProductOnly
ServerSignature Off
In the apache
ApacheApache is the world's most used Web server software. It can run on almost all widely used computer platforms and is one of the most popular Web server-side software due to its widespread use across platforms and security. Apache originates
The life cycle of PHP
In a common webserver environment, you cannot start the PHP interpreter directly; This is typically initiated by Apache or other webserver, which loads PHP processing scripts that need to be processed (requested. PHP
In the PHP tutorial array is a powerful data type, he can do a lot of things, can store different data types in an array, below we list the array of commonly used operations, sorting, key names, such as the sequence of sorting and other practices.
WampServer is a software integrated with PHP/Mysql/Apache and other applications (such as PhpMyAdmin/Xdebug [maybe not]). It has its favorite features, it does not simplify the installation and configuration of Php, Mysql, and Apache, but allows us
Document directory
1.4.1 generate public and private keys
1.4.2 configure the Public Key
1.4.3 try to connect to sshd server
5.5.1 install mongrel
5.5.2 download the mongrel bug patch
5.5.3 register the mongrel Service
5.5.4 run mongrel and
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Command:mysql_secure_installation +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Note:running all PARTS of this SCRIPT are
Tests show that:When mod_evasive successfully blocks an ip address, apache logs still have access records; Official Address of mod_evasive: http://www.zdziarski.com/ProjectsMod_evasive Wget
Document directory
Fixed Link Type
Select Permanent Link Structure
Use "beautiful" fixed links
Do not use a fixed link of mod_rewrite
Fixed Link Problems
Fixed links,. htaccess files, and MS Frontpage
See
External resources
Permalink is
In the php tutorial, arrays are powerful data types. They can do a lot of things and store different data types in an array. Below we list the common operations of arrays, sort and sort the array by key name.
/* Common functions of Arrays**
There are two ways to integrate Apache into PHP: one is the DSO mode, which calls PHP as an external module of Apache, which increases the flexibility of Apache, but reduces the performance by 5%; another way is to compile PHP into the Apache kernel,
Article title: compile PHP into Apache static kernel on Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Clarify: There are two ways to integrate Apache into PHP: one is the DSO mode, which calls PHP as an external module of Apache, which increases the flexibility of Apache, however, the performance will be reduced by 5%. Another way is to compile PHP
On Linux, compile PHP into the Apache static kernel-Linux Enterprise Application-Linux server application information. The following is a detailed description. Note: There are two ways to integrate Apache into PHP: one is the DSO mode, which calls
Instructions for using Apache (HTTPD) server anti-DDoS module mod_evasive1, Mod_evasive Introduction;Mod_evasive is a DDoS-resistant module for Apache (httpd) servers. For Web servers, it is now a good extension to protect against DDoS attacks.
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.