Apache Basic Kit
What is (Wikipedia)
Link to official web page
Installation
Configuration options
How to protect web folders:
1. Put a void index.html (avoid exploring)
2. Edit folder .htacces adding “Options -Indexes” (Hard avoid exploring)
3. Total protection with username/pass avoid exploring an reading files using the explicit filename. Edit .htacces adding:
AuthUserFile /home/username/.htpasswd
AuthName NomiFila
AuthType Basic
requiere user username
And create/edit .htpasswd (placed in a no accecible site, out of public_html) with:
username:crypt(passowrd)
To optain a pair user/password use the command:
htpasswd -nb username examplepassword
Paste the result in .htpasswd.
CONFIGURE NETBEANS XDEBUG IN PHP.INI APACHE: http://2bits.com/articles/setting-up-xdebug-dbgp-for-php-on-debian-ubuntu.html