54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
<VirtualHost *:80>
|
|
ServerName %%fqdn%%
|
|
AssignUserId www-data www-data
|
|
SetEnv LOGIN "0000-roundcube"
|
|
|
|
DocumentRoot /var/lib/roundcube
|
|
|
|
# Access to tinymce files
|
|
<Directory "/usr/share/tinymce/www/">
|
|
Options Indexes MultiViews FollowSymLinks
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
<Directory /var/lib/roundcube/>
|
|
Options +FollowSymLinks
|
|
# This is needed to parse /var/lib/roundcube/.htaccess. See its
|
|
# content before setting AllowOverride to None.
|
|
AllowOverride All
|
|
order allow,deny
|
|
allow from all
|
|
</Directory>
|
|
|
|
# Protecting basic directories:
|
|
<Directory /var/lib/roundcube/config>
|
|
Options -FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
|
|
<Directory /var/lib/roundcube/temp>
|
|
Options -FollowSymLinks
|
|
AllowOverride None
|
|
Order allow,deny
|
|
Deny from all
|
|
</Directory>
|
|
|
|
<Directory /var/lib/roundcube/logs>
|
|
Options -FollowSymLinks
|
|
AllowOverride None
|
|
Order allow,deny
|
|
Deny from all
|
|
</Directory>
|
|
|
|
Alias /javascript /usr/share/javascript/
|
|
|
|
<Directory "/usr/share/javascript/">
|
|
Options FollowSymLinks MultiViews
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
|
|
</VirtualHost>
|