diff options
Diffstat (limited to 'net-mgmt/horde-nic/files/httpd.conf.nic')
-rw-r--r-- | net-mgmt/horde-nic/files/httpd.conf.nic | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-mgmt/horde-nic/files/httpd.conf.nic b/net-mgmt/horde-nic/files/httpd.conf.nic new file mode 100644 index 000000000000..29a493425a83 --- /dev/null +++ b/net-mgmt/horde-nic/files/httpd.conf.nic @@ -0,0 +1,31 @@ +# This is included in Apache's httpd.conf for nic +# +# For security, don't serve pages from the nic configuration and +# library directories. +# +<Directory "/home/httpd/html/horde/nic/config"> + order deny,allow + deny from all +</Directory> +<Directory "/home/httpd/html/horde/nic/lib"> + order deny,allow + deny from all +</Directory> +<Directory "/home/httpd/html/horde/nic/locale"> + order deny,allow + deny from all +</Directory> +<Directory "/home/httpd/html/horde/nic/po"> + order deny,allow + deny from all +</Directory> +<Directory "/home/httpd/html/horde/nic/scripts"> + order deny,allow + deny from all +</Directory> +<Directory "/home/httpd/html/horde/nic/templates"> + order deny,allow + deny from all +</Directory> +# End of nic configuration ================ + |