forked from w2c/ispconfig3_roundcube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroundcube.conf
37 lines (33 loc) · 829 Bytes
/
roundcube.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# RoundCube alias and redirect functions
Alias /webmail /var/www/apps/roundcube
<Directory /var/www/apps/roundcube>
Options +FollowSymLinks
DirectoryIndex index.php
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_value include_path .
</IfModule>
AllowOverride All
Order Deny,Allow
Allow from All
</Directory>
# Protecting basic directories:
<Directory /var/www/apps/roundcube/temp>
Options -FollowSymLinks
AllowOverride None
Order Deny,Allow
Deny from All
</Directory>
<Directory /var/www/apps/roundcube/logs>
Options -FollowSymLinks
AllowOverride None
Order Deny,Allow
Deny from All
</Directory>
<DirectoryMatch \.svn>
Order Deny,Allow
Deny from All
</DirectoryMatch>