Apache Webserver Security and Optimization Tips

I'm going to deal with managing and running my first Internet-connected Apache server, and I was wondering if there are sys administrators and developers who would like to share some of their knowledge regarding security and optimization tips for starting Apache web server.

Perhaps you can share your fifth (or ten) list of things that you immediately after installing the Apache web server (in the Linux box).

Any help is greatly appreciated.

+5
source share
6 answers

The main

  • , ​​ . Apache .
  • , . , -, Apache .
  • Apache root. .
  • . , , ; logrotate .
  • Apache . monit, setuo, . .
  • Apache - (.. PHP, Perl, Rails) , , .
  • 404 500. .
  • Apache, , , .
  • mod_security

  • Apache DOS.
  • .
  • , , - .

  • Apache , MPM (Multi-Processing Modules).
  • .
  • MaxClients, , .
  • mod_deflate, DEFLATE, .
+9
  • , Apache root.
  • .
  • , , ssh.
  • , . (. Iptables).
  • , .
  • Apache, .
+3
+3

" Apache " " ", , , SCM .

, , . , , . :

  • MaxClients . , prefork (, mod_perl, PHP ..). . , , .
  • , Keepalives. . , - , .
  • HTTPS, HTTPS .
  • "Last-modified" "Expires" , ( ). .
  • , HTTPS , , ( , HTTPS ).
+1

LAMP (Linux, Apache, MySQL, PHP/PEARL/PYTHON): MySQL , Apache. (- ), .

0

Make sure you configure it to detect DOS attacks (denial of service).

0
source

All Articles