summaryrefslogtreecommitdiff
path: root/ledgersmb-httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'ledgersmb-httpd.conf')
-rw-r--r--ledgersmb-httpd.conf39
1 files changed, 39 insertions, 0 deletions
diff --git a/ledgersmb-httpd.conf b/ledgersmb-httpd.conf
new file mode 100644
index 00000000..b92e09d4
--- /dev/null
+++ b/ledgersmb-httpd.conf
@@ -0,0 +1,39 @@
+
+Alias /ledger-smb WORKING_DIR
+
+<Directory WORKING_DIR>
+ AllowOverride All
+ AddHandler cgi-script .pl
+ Options ExecCGI Includes FollowSymlinks
+ Order Allow,Deny
+ Allow from All
+ <Files ~ "\.conf$">
+ Order Deny,Allow
+ Deny from All
+ </Files>
+</Directory>
+
+<Directory WORKING_DIR/users>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/bin>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/utils>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/spool>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/LedgerSMB>
+ Order Deny,Allow
+ Deny from All
+</Directory>