diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-12-21 08:37:20 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-12-21 08:37:20 +0100 |
commit | a4216a27177c3ef5fb9b4a0f8ff270aff91e9cdb (patch) | |
tree | 93012de3456b28e8ba9a779ab1083907131c8f73 /roundcubemail.httpd | |
parent | bef834045b55ae2beae7b938f56268204dfc19ff (diff) |
roundcubemail: add nginx, php-fpm support (F21+)
Diffstat (limited to 'roundcubemail.httpd')
-rw-r--r-- | roundcubemail.httpd | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/roundcubemail.httpd b/roundcubemail.httpd new file mode 100644 index 0000000..5b67c20 --- /dev/null +++ b/roundcubemail.httpd @@ -0,0 +1,49 @@ +# +# Round Cube Webmail is a browser-based multilingual IMAP client +# + +Alias /roundcubemail /usr/share/roundcubemail + +# 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 + 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> + +# 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> |