summaryrefslogtreecommitdiffstats
path: root/roundcubemail.httpd
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-12-12 16:14:29 +0100
committerRemi Collet <remi@php.net>2025-12-12 16:14:29 +0100
commitc082411c992b3e182d30cc08133db5e14b6e1633 (patch)
treed5036ff35df4ad5505eb6e26bd360d40f3a8e956 /roundcubemail.httpd
parentf0e787a353049cf93f99bb519e6b8d7c970e6554 (diff)
update to 1.7-rcHEADmaster
raise dependency on PHP 8.1
Diffstat (limited to 'roundcubemail.httpd')
-rw-r--r--roundcubemail.httpd35
1 files changed, 3 insertions, 32 deletions
diff --git a/roundcubemail.httpd b/roundcubemail.httpd
index 5b67c20..38f5f8a 100644
--- a/roundcubemail.httpd
+++ b/roundcubemail.httpd
@@ -2,48 +2,19 @@
# Round Cube Webmail is a browser-based multilingual IMAP client
#
-Alias /roundcubemail /usr/share/roundcubemail
+Alias /roundcubemail /usr/share/roundcubemail/public_html
# Define who can access the Webmail
# You can enlarge permissions once configured
<Directory /usr/share/roundcubemail/>
- <IfModule mod_authz_core.c>
- # Apache 2.4
Require local
- </IfModule>
- <IfModule !mod_authz_core.c>
- # Apache 2.2
- Order Deny,Allow
- Deny from all
- Allow from 127.0.0.1
- Allow from ::1
- </IfModule>
</Directory>
# Define who can access the installer
# keep this secured once configured
-<Directory /usr/share/roundcubemail/installer/>
- <IfModule mod_authz_core.c>
- # Apache 2.4
+<Location /roundcubemail/installer.php>
Require local
- </IfModule>
- <IfModule !mod_authz_core.c>
- # Apache 2.2
- Order Deny,Allow
- Deny from all
- Allow from 127.0.0.1
- Allow from ::1
- </IfModule>
-</Directory>
+</Location>
-# Those directories should not be viewed by Web clients.
-<Directory /usr/share/roundcubemail/bin/>
- Order Allow,Deny
- Deny from all
-</Directory>
-<Directory /usr/share/roundcubemail/plugins/enigma/home/>
- Order Allow,Deny
- Deny from all
-</Directory>