Apache for only a couple people and only webmail, no other site.

I've ran apache since the 1990s and have my preferred settings today for general websites. I am starting another server that will only be for a couple people's webmail. I think the apache settings should be less or different at least. For example fewer instances running, not heavy usage. What is your preferred apache settings for this type of setup? Post your apache config file please. Thanks!!
 
Code:
Listen 127.0.0.1:13006
Listen 127.0.0.1:13005
Listen 127.0.0.1:80
#ROUNDCUBE
<Virtualhost 127.0.0.1:13006>
<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>
ServerName freebsd.ala
#ErrorLog ${APACHE_LOG_DIR}/roundcube_error.log
#CustomLog ${APACHE_LOG_DIR}/roundcube_access.log combined
#DocumentRoot      "/usr/local/www/roundcube/"
Alias /roundcube/ "/usr/local/www/roundcube/"
<Directory        "/usr/local/www/roundcube/">
    Options All
    AllowOverride None
    Require all granted
    Allow from "freebsd.ala"
</Directory>
</VirtualHost>

#SQUIRRELMAIL
<Virtualhost 127.0.0.1:13005>
<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>
Alias /squirrelmail/ "/usr/local/www/squirrelmail/"
<Directory            /usr/local/www/squirrelmail>
  Options None
  AllowOverride None
  DirectoryIndex index.php
  Order Allow,Deny
  Allow from all
</Directory>
<Directory /usr/local/squirrelmail/www/*>
  Deny from all
</Directory>
<Directory /usr/local/squirrelmail/www/scripts>
  Allow from all
</Directory>
<Directory /usr/local/squirrelmail/www/images>
  Allow from all
</Directory>
<Directory /usr/local/squirrelmail/www/plugins>
  Allow from all
</Directory>
<Directory /usr/local/squirrelmail/www/src>
  Allow from all
</Directory>
<Directory /usr/local/squirrelmail/www/templates>
  Allow from all
</Directory>
<Directory /usr/local/squirrelmail/www/themes>
  Allow from all
</Directory>
<Directory /usr/local/squirrelmail/www/contrib>
  Order Deny,Allow
  Deny from All
  Allow from 127
  Allow from 10
  Allow from 192
</Directory>
<Directory /usr/local/squirrelmail/www/doc>
  Order Deny,Allow
  Deny from All
  Allow from 127
  Allow from 10
  Allow from 192
</Directory>
</VirtualHost>
 
What is your preferred apache settings for this type of setup?
I just leave httpd.conf alone, no changes except perhaps one, to include extra/httpd-default.conf to turn off ServerTokens and ServerSignature for example.
 
Back
Top