# $NetBSD: apache.conf,v 1.2 2018/05/16 08:14:41 triaxx Exp $
#
# RoundCube example fragment for www/apache24

<IfModule mod_alias.c>
	Alias /roundcube "share/roundcube/"
</IfModule>

# Don't forget to adapt the configuration in share/roundcube/.htaccess
# to your liking.
<Directory "share/roundcube">
	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 "share/roundcube/installer">
#	Order deny,allow
#	Deny from all
#</Directory>
