diff options
Diffstat (limited to 'certbot-apache/tests/apache-conf-files/passing/roundcube-1222.conf')
-rw-r--r-- | certbot-apache/tests/apache-conf-files/passing/roundcube-1222.conf | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/certbot-apache/tests/apache-conf-files/passing/roundcube-1222.conf b/certbot-apache/tests/apache-conf-files/passing/roundcube-1222.conf new file mode 100644 index 000000000..72ced7fb3 --- /dev/null +++ b/certbot-apache/tests/apache-conf-files/passing/roundcube-1222.conf @@ -0,0 +1,61 @@ +# Those aliases do not work properly with several hosts on your apache server +# Uncomment them to use it or adapt them to your configuration +# Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/ +# Alias /roundcube /var/lib/roundcube + +# Access to tinymce files +<Directory "/usr/share/tinymce/www/"> + Options Indexes MultiViews FollowSymLinks + AllowOverride None + <IfVersion >= 2.3> + Require all granted + </IfVersion> + <IfVersion < 2.3> + Order allow,deny + Allow from all + </IfVersion> +</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 + <IfVersion >= 2.3> + Require all granted + </IfVersion> + <IfVersion < 2.3> + Order allow,deny + Allow from all + </IfVersion> +</Directory> + +# Protecting basic directories: +<Directory /var/lib/roundcube/config> + Options -FollowSymLinks + AllowOverride None +</Directory> + +<Directory /var/lib/roundcube/temp> + Options -FollowSymLinks + AllowOverride None + <IfVersion >= 2.3> + Require all denied + </IfVersion> + <IfVersion < 2.3> + Order allow,deny + Deny from all + </IfVersion> +</Directory> + +<Directory /var/lib/roundcube/logs> + Options -FollowSymLinks + AllowOverride None + <IfVersion >= 2.3> + Require all denied + </IfVersion> + <IfVersion < 2.3> + Order allow,deny + Deny from all + </IfVersion> +</Directory> |