Advertisement
paulschreiber

roundcube.conf

Nov 2nd, 2015
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. # Those aliases do not work properly with several hosts on your apache server
  2. # Uncomment them to use it or adapt them to your configuration
  3. # Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
  4. # Alias /roundcube /var/lib/roundcube
  5.  
  6. # Access to tinymce files
  7. <Directory "/usr/share/tinymce/www/">
  8. Options Indexes MultiViews FollowSymLinks
  9. AllowOverride None
  10. <IfVersion >= 2.3>
  11. Require all granted
  12. </IfVersion>
  13. <IfVersion < 2.3>
  14. Order allow,deny
  15. Allow from all
  16. </IfVersion>
  17. </Directory>
  18.  
  19. <Directory /var/lib/roundcube/>
  20. Options +FollowSymLinks
  21. # This is needed to parse /var/lib/roundcube/.htaccess. See its
  22. # content before setting AllowOverride to None.
  23. AllowOverride All
  24. <IfVersion >= 2.3>
  25. Require all granted
  26. </IfVersion>
  27. <IfVersion < 2.3>
  28. Order allow,deny
  29. Allow from all
  30. </IfVersion>
  31. </Directory>
  32.  
  33. # Protecting basic directories:
  34. <Directory /var/lib/roundcube/config>
  35. Options -FollowSymLinks
  36. AllowOverride None
  37. </Directory>
  38.  
  39. <Directory /var/lib/roundcube/temp>
  40. Options -FollowSymLinks
  41. AllowOverride None
  42. <IfVersion >= 2.3>
  43. Require all denied
  44. </IfVersion>
  45. <IfVersion < 2.3>
  46. Order allow,deny
  47. Deny from all
  48. </IfVersion>
  49. </Directory>
  50.  
  51. <Directory /var/lib/roundcube/logs>
  52. Options -FollowSymLinks
  53. AllowOverride None
  54. <IfVersion >= 2.3>
  55. Require all denied
  56. </IfVersion>
  57. <IfVersion < 2.3>
  58. Order allow,deny
  59. Deny from all
  60. </IfVersion>
  61. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement