summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ledgersmb-httpd.conf21
1 files changed, 10 insertions, 11 deletions
diff --git a/ledgersmb-httpd.conf b/ledgersmb-httpd.conf
index cad5a122..02ca1b4f 100644
--- a/ledgersmb-httpd.conf
+++ b/ledgersmb-httpd.conf
@@ -1,8 +1,8 @@
# This file must be edited to substitute the current path with WORKING_DIR
-Alias /ledgersmb /home/ledgersmb/ledger-smb
+Alias /ledgersmb WORKING_DIR/
-<Directory /home/ledgersmb/ledger-smb>
+<Directory WORKING_DIR>
# Rewrite rule to allow HTTP Authorization information to the scripts only
# from this directory.
@@ -18,9 +18,8 @@ Alias /ledgersmb /home/ledgersmb/ledger-smb
# connections that access this application in order to protect usernames and
# passwords.
Order Deny,Allow
-# Allow from 127.0.0.1
-# Allow from localhost
- Allow from All
+ Allow from 127.0.0.1
+ Allow from localhost
Deny from All
# The rest of this file just tightens up security.
@@ -30,32 +29,32 @@ Alias /ledgersmb /home/ledgersmb/ledger-smb
</Files>
</Directory>
-<Directory /home/ledgersmb/ledger-smb/users>
+<Directory WORKING_DIR/users>
Order Deny,Allow
Deny from All
</Directory>
-<Directory /home/ledgersmb/ledger-smb/bin>
+<Directory WORKING_DIR/bin>
Order Deny,Allow
Deny from All
</Directory>
-<Directory /home/ledgersmb/ledger-smb/utils>
+<Directory WORKING_DIR/utils>
Order Deny,Allow
Deny from All
</Directory>
-<Directory /home/ledgersmb/ledger-smb/spool>
+<Directory WORKING_DIR/spool>
Order Deny,Allow
Deny from All
</Directory>
-<Directory /home/ledgersmb/ledger-smb/templates>
+<Directory WORKING_DIR/templates>
Order Deny,Allow
Deny from All
</Directory>
-<Directory /home/ledgersmb/ledger-smb/LedgerSMB>
+<Directory WORKING_DIR/LedgerSMB>
Order Deny,Allow
Deny from All
</Directory>