Differences

This shows you the differences between two versions of the page.

Link to this comparison view

apache_tqm [2011/11/04 12:10] (current)
Line 1: Line 1:
 +====== Sys Admin TQM Checklist ======
 +
 +===== Apache =====
 +
 +  * [[Apache]]
 +
 +=== Modules ===
 +
 +  * mod_deflate
 +  * mod_rewrite
 +  * mod_ssl
 +
 +=== Global Configuration ===
 +
 +  * Gentoo: ''/​etc/​apache2/​modules.d/​00_default_settings.conf''​
 +  * CentOS: ''/​etc/​httpd/​conf/​httpd.conf''​
 +  * CentOS + CPanel: ''/​usr/​local/​apache/​conf/​httpd.conf''​
 +
 +<​code>​
 +IndexOptions FancyIndexing NameWidth=* SuppressDescription
 +ServerTokens Prod
 +TraceEnable off
 +ServerSignature Off
 +HostnameLookups Off
 +EnableMMAP On
 +EnableSendfile On
 +FileEtag INode MTime Size
 +ContentDigest On
 +</​code>​
 +
 +=== MPM Prefork + mod_php ===
 +
 +== IfModule in .htaccess for compatiblity ==
 +
 +It would be better if they were in php.ini or using ''​ini_set()''​ in code.
 +
 +<​code>​
 +<​IfModule mod_php5.c>​
 +php_value include_path "​.:/​usr/​local/​lib/​php"​
 +</​IfModule
 +</​code>​
 +
 +=== MPM Worker + PHP CGI ===
 +
 +  * SuExec
 +  * PHP overrides are in code or php.ini
 +
 +<​code>​
 +AddType text/html .php .phps
 +AddHandler php-fastcgi .php .htm .html .js
 +AddHandler php-fastcgi-source .phps
 +Action php-fastcgi /​cgi-bin/​php.fcgi
 +Action php-fastcgi-source /​cgi-bin/​phps.fcgi
 +DirectoryIndex index.php index.html
 +</​code>​
 +
 +=== SSL ===
 +
 +  * Domain name CRT
 +  * SSL private key
 +  * CABundle CRT
 +
 +=== VirtualHosts ===
 +
 +<​code>​
 +NameVirtualHost *:80
 +NameVirtualHost *:443
 +</​code>​