pkgsrc/mail/roundcube/files/apache.conf
2015-08-31 15:31:26 +00:00

34 lines
917 B
ApacheConf

# $NetBSD: apache.conf,v 1.1 2015/08/31 15:31:27 taca Exp $
#
# RoundCube configuration file fragment for Apache
<IfModule mod_alias.c>
Alias /roundcube "@RCDIR@/"
</IfModule>
# Don't forget to adapt the configuration in @RCDIR@/.htaccess
# to your liking.
<Directory "@RCDIR@">
AllowOverride All
DirectoryIndex index.php
<IfModule !mod_authz_core.c>
Order allow,deny
Allow from all
</IfModule>
<IfModule mod_authz_core.c>
Require all granted
</IfModule>
</Directory>
#
# For security, don't serve pages from the roundcube installer directory.
#
# If you are using the installer to setup roundcube you will need access to
# the installer/ directory for the initial setup. It is recommended that
# after installation you uncomment the following block in order to restrict
# access to that directory.
#
#<Directory "@RCDIR@/installer">
# Order deny,allow
# Deny from all
#</Directory>