No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_apache2_sites-available_roundcube.j2 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <VirtualHost *:80>
  2. ServerName {{ webmail_domain }}
  3. Redirect permanent / https://{{ webmail_domain }}/
  4. </VirtualHost>
  5. <VirtualHost *:443>
  6. ServerName {{ webmail_domain }}
  7. Include /etc/apache2/ssl.conf
  8. # Those aliases do not work properly with several hosts on your apache server
  9. # Uncomment them to use it or adapt them to your configuration
  10. # Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
  11. # Alias /roundcube /var/lib/roundcube
  12. # Access to tinymce files
  13. DocumentRoot /var/lib/roundcube
  14. <Directory "/usr/share/tinymce/www/">
  15. Options Indexes MultiViews FollowSymLinks
  16. AllowOverride None
  17. Order allow,deny
  18. allow from all
  19. </Directory>
  20. <Directory /var/lib/roundcube/>
  21. Options +FollowSymLinks
  22. # This is needed to parse /var/lib/roundcube/.htaccess. See its
  23. # content before setting AllowOverride to None.
  24. AllowOverride All
  25. order allow,deny
  26. allow from all
  27. </Directory>
  28. # Protecting basic directories:
  29. <Directory /var/lib/roundcube/config>
  30. Options -FollowSymLinks
  31. AllowOverride None
  32. </Directory>
  33. <Directory /var/lib/roundcube/temp>
  34. Options -FollowSymLinks
  35. AllowOverride None
  36. Order allow,deny
  37. Deny from all
  38. </Directory>
  39. <Directory /var/lib/roundcube/logs>
  40. Options -FollowSymLinks
  41. AllowOverride None
  42. Order allow,deny
  43. Deny from all
  44. </Directory>
  45. CustomLog /var/log/apache2/webmail_access.log combined
  46. ErrorLog /var/log/apache2/webmail_error.log
  47. </VirtualHost>