Securing a multi-user Apache Web Server

As part of refining my Apache web server which runs multiple sites I’ve create a user account, database account and home folder per site so for example the site example.com has a user account example, a database account example and a web folder located at: /home/example/public_html The corresponding Apache VirtualHost for this site is: <VirtualHost *:80> ServerAdmin admin@example.com ServerName www.example.com ServerAlias example.com ErrorLog /var/log/apache2/error.example.com.log LogLevel warn CustomLog /var/log/apache2/access.example.com.log combined DocumentRoot /home/example/public_html <IfModule mod_suexec....

October 28, 2014 · 2 min · 256 words · leonroy