Archive for March, 2012

Wanted to install a test virtual machine on my Desktop pc for server and ispconfig proposes. Test new things, new software etc.
The problem was that the clipboard between host and virtual machine does not works if you haven’t set up X. So i google it for the solution and i wrote a simple tutorial. (more…)


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