diff options
Diffstat (limited to 'ledgersmb-httpd.conf')
-rw-r--r-- | ledgersmb-httpd.conf | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/ledgersmb-httpd.conf b/ledgersmb-httpd.conf index 02ca1b4f..cad5a122 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 WORKING_DIR/ +Alias /ledgersmb /home/ledgersmb/ledger-smb -<Directory WORKING_DIR> +<Directory /home/ledgersmb/ledger-smb> # Rewrite rule to allow HTTP Authorization information to the scripts only # from this directory. @@ -18,8 +18,9 @@ Alias /ledgersmb WORKING_DIR/ # 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 127.0.0.1 +# Allow from localhost + Allow from All Deny from All # The rest of this file just tightens up security. @@ -29,32 +30,32 @@ Alias /ledgersmb WORKING_DIR/ </Files> </Directory> -<Directory WORKING_DIR/users> +<Directory /home/ledgersmb/ledger-smb/users> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/bin> +<Directory /home/ledgersmb/ledger-smb/bin> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/utils> +<Directory /home/ledgersmb/ledger-smb/utils> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/spool> +<Directory /home/ledgersmb/ledger-smb/spool> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/templates> +<Directory /home/ledgersmb/ledger-smb/templates> Order Deny,Allow Deny from All </Directory> -<Directory WORKING_DIR/LedgerSMB> +<Directory /home/ledgersmb/ledger-smb/LedgerSMB> Order Deny,Allow Deny from All </Directory> |