This is my 2 cents for Haphost users. Hiawatha is advanced and secure webserver for Unix.
"Hiawatha has been written with security in mind. This resulted in a highly secure webserver in both code and features. Hiawatha can stop SQL injections, XSS and CSRF attacks and exploit attempts. Via a specially crafted monitoring tool, you can keep track of all your webservers."
OS: Dedian 7 (64bit)
We will start with php installation:
apt-get install php5 php-pear php5-curl php5-mysql php5-fpm
Now we will install MariaDB (mariadb is faster then classic mysql and optimized, but commands are same, more information here) :
apt-get install python-software-properties apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db add-apt-repository 'deb http://mirrors.linsrv.net/mariadb/repo/5.5/debian wheezy main' apt-get update apt-get install mariadb-server
Now we will install Hiawatha web server. You can get package for your distro from download page. This is 64bit Debian 7 guide.
apt-get install libxslt1.1 wget http://files.tuxhelp.org/hiawatha/hiawatha_9.3_amd64.deb;dpkg -i hiawatha*
To start/stop hiawatha:
service hiawatha start service hiawatha stop
Server need some extra settings that you can find inside /etc/hiawatha/hiawatha.conf file. If somebody want to learn more i will be glad to share information about setting php5-fpm, vhost and few security settings, but all this can be found on Hiawatha HOW TO page.
Next configuration steps are:
1. Setting vhost
2. Setting php5-fpm
3. Setting php.ini and php-fpm.conf (inside /etc/php5/fpm/)
4. Add xss, csrf and sqli protection
This how will look your new home page:
capture9.jpg 37.96KB 2 downloads
Have fun, security and speed with Hiawatha !