Skip to content

WebServer

Apache folder permissions

You should never have to run a website out of your home directory. EVER. You would otherwise have to give the web server the ability to traverse through /home/ to see the directory structure, but also into /home/$USER/ (your user’s...

Install Apache’s mod_security & mod_evasive to prevent DoS/Brute-Force attacks on CentOS

I have been searching for a free open source solution to protect my web application against prying hackers, malicious screen scrapers, illegitimate crawlers, rampant bots and abusive API users. Besides being free and open...

Setting up PHPUnit with XAMPP

XAMPP is a great utility to get you started quickly with Apache, MySQL, and PHP. XAMPP have feature to test your PHP code use PHPUnit. Before you can use PHPUnit you must have PEAR...