Hi,
I now have my server configured and I am writing a script to make it easy to add new sites as I need them without too much fuss..
I am looking for suggestion as to what I should include in the default setup to make it safe and secure but obviously functional as well..
Below is what I would generate so far for all new sites.. If you have any recommendations please fire away and explain why what you are suggesting is a good idea..
Thanks..
Code:
<VirtualHost *:80>
ServerAdmin webmaster@domain.com
ServerName www.domain.com
ServerAlias alias.domain.com
DocumentRoot /home/www.domain.com/public_html/
ErrorLog /home/www.domain.com/logs/error.log
CustomLog /home/www.domain.com/logs/access.log combined
<Directory /home/www.domain.com/public_html>
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
<IfModule mpm_itk_module>
AssignUserId www.domain.com www.domain.com
</IfModule>
</VirtualHost>