f9186d205d
Fixing an error reported by fran at his.com: Saving attachments causes an error: "You don't have permission to access /horde/imp/download/ on this server." and an error is reported in /var/log/httpd-error.log: [error] [client aaa.bbb.ccc.ddd] client denied by server configuration: /usr/local/www/horde/imp/download $LOCALBASE/etc/horde/httpd.conf.imp was protecting horde/imp/download/ (my mistake), but IMP uses this as a pseudo-directory, and it must be readable by your clients. PR: ports/51100 Submitted by: Thierry Thomas <thierry@pompo.net>
31 lines
784 B
Text
31 lines
784 B
Text
# This is included in Apache's httpd.conf for IMP
|
|
#
|
|
# For security, don't serve pages from the IMP configuration and
|
|
# library directories.
|
|
#
|
|
<Directory "/home/httpd/html/horde/imp/config">
|
|
order deny,allow
|
|
deny from all
|
|
</Directory>
|
|
<Directory "/home/httpd/html/horde/imp/lib">
|
|
order deny,allow
|
|
deny from all
|
|
</Directory>
|
|
<Directory "/home/httpd/html/horde/imp/locale">
|
|
order deny,allow
|
|
deny from all
|
|
</Directory>
|
|
<Directory "/home/httpd/html/horde/imp/po">
|
|
order deny,allow
|
|
deny from all
|
|
</Directory>
|
|
<Directory "/home/httpd/html/horde/imp/scripts">
|
|
order deny,allow
|
|
deny from all
|
|
</Directory>
|
|
<Directory "/home/httpd/html/horde/imp/templates">
|
|
order deny,allow
|
|
deny from all
|
|
</Directory>
|
|
# End of IMP configuration ================
|
|
|