summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dists/gentoo/ledger-smb-httpd-gentoo.conf29
1 files changed, 24 insertions, 5 deletions
diff --git a/dists/gentoo/ledger-smb-httpd-gentoo.conf b/dists/gentoo/ledger-smb-httpd-gentoo.conf
index 82f18f81..b704c5f9 100644
--- a/dists/gentoo/ledger-smb-httpd-gentoo.conf
+++ b/dists/gentoo/ledger-smb-httpd-gentoo.conf
@@ -1,5 +1,5 @@
-#Alias /ledger-smb /some/path/to/ledger-smb/
+Alias /ledger-smb ${MY_HTDOCSDIR}
<Directory ${MY_HTDOCSDIR}>
AllowOverride All
@@ -9,8 +9,27 @@
Allow from All
</Directory>
-#<Directory /some/path/to/ledger-smb/users>
-# Order Deny,Allow
-# Deny from All
-#</Directory>
+<Directory ${MY_HTDOCSDIR}/users>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory ${MY_HTDOCSDIR}/bin>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory ${MY_HTDOCSDIR}/spool>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory ${MY_HTDOCSDIR}/templates>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+<Directory ${MY_HTDOCSDIR}/LedgerSMB>
+ Order Deny,Allow
+ Deny from All
+</Directory>