Apache cookbook Chinese notes

Source: Internet
Author: User
Tags php source code

1 serveralias p71
Multiple Domain names can be configured for one VM
Servername www.maxthon.com <br/> serveralias www.maxthon1.com www.maxthon2.com

2 apachectl graceful P17
Restart Apache and close the link after the active connection is enabled.

3. VM
Domain name-based VM
Servername 127.0.0.1 <br/> namevirtualhost *. 80 <br/> <virtualhost *: 80> <br/> servername <br/> DocumentRoot <br/> </virtualhost> <br/>
IP-based virtual host P73
Servername 127.0.0.1 <br/> <virtualhost 127.0.0.1> <br/> servername <br/> DocumentRoot <br/> </virtualhost> <br/> <virtualhost 127.0.0.2> <br/> servername <br/> DocumentRoot <br/> </virtualhost>

Virtual Host p74 Based on IP + servername

Port-based VM p79

4. Differences between alias and redirect/rewriterule Chapter 5

5. The URL is case insensitive checkspelling on

6. Highlight PHP source code p94 on the webpage

7. Rewrite the path to the P97 parameter.
Rewritecond transparent to users p104

8 mod_dir P140
Can accept "/requests, convert to index.html or directoryindex

9 prevent DDoS p145
Mod_evasive

10. When an error occurs, you will receive an email notification to P201.

11 performance p222
Optimized Symbolic Link
Keepalive time
. Htaccess File
Avoid DNS
File Cache mod_file_cache

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.