summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ledgersmb-httpd.conf44
1 files changed, 44 insertions, 0 deletions
diff --git a/ledgersmb-httpd.conf b/ledgersmb-httpd.conf
new file mode 100644
index 00000000..3e74f1ea
--- /dev/null
+++ b/ledgersmb-httpd.conf
@@ -0,0 +1,44 @@
+
+Alias /ledger-smb WORKING_DIR/ledger-smb/
+
+<Directory WORKING_DIR/ledger-smb>
+ 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/ledger-smb/users>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/ledger-smb/bin>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/ledger-smb/utils>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/ledger-smb/spool>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/ledger-smb/templates>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/ledger-smb/LedgerSMB>
+ Order Deny,Allow
+ Deny from All
+</Directory>