Archive for the ‘Apache’ Category

Secure Apache

pico /etc/apache2/conf.d/security

ServerSignature Off
ServerTokens Prod

/etc/init.d/apache2 restart

Secure PHP

pico /etc/php5/cgi/php.ini

pico /etc/php5/apache2/php.ini

expose_php = Off
disable_functions = show_source, system, shell_exec, passthru, exec, phpinfo, popen, proc_open
magic_quotes_gpc = Off
safe_mode = Off
register_globals = Off
allow_url_fopen = Off

A good answer to the above question that i found on this forum
Keepalive keeps the current TCP/IP connection open for awhile after the HTTP transaction ends, allowing that same connection to be used for several subsequent HTTP transactions. So it reduces latency, and speeds up both the client and server connections. (more…)