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>