[Pkg-sql-ledger-commit] r700 - ledger-smb/branches/v1.3/debian/patches
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
pkg-sql-ledger-commit-owner at lists.alioth.debian.org
Tue Mar 11 20:58:48 UTC 2014
Author: jame-guest
Date: 2014-03-11 20:58:48 +0000 (Tue, 11 Mar 2014)
New Revision: 700
Modified:
ledger-smb/branches/v1.3/debian/patches/10_httpdconf.patch
Log:
Update 10_httpdconf.patch new 2.4 apache configuration file.
Modified: ledger-smb/branches/v1.3/debian/patches/10_httpdconf.patch
===================================================================
--- ledger-smb/branches/v1.3/debian/patches/10_httpdconf.patch 2014-02-26 15:03:29 UTC (rev 699)
+++ ledger-smb/branches/v1.3/debian/patches/10_httpdconf.patch 2014-03-11 20:58:48 UTC (rev 700)
@@ -61,3 +61,52 @@
+ Deny from All
+</Directory>
+
+--- a/ledgersmb-httpd-2.4.conf.template
++++ b/ledgersmb-httpd-2.4.conf.template
+@@ -1,8 +1,8 @@
+ # This file must be edited to substitute the current path with WORKING_DIR
+
+-Alias /ledgersmb WORKING_DIR/
++Alias /ledgersmb /usr/share/ledgersmb/
+
+-<Directory WORKING_DIR>
++<Directory /usr/share/ledgersmb>
+
+ # Rewrite rule to allow HTTP Authorization information to the scripts only
+ # from this directory.
+@@ -35,22 +35,30 @@
+ </Files>
+ </Directory>
+
+-<Directory WORKING_DIR/bin>
++<Directory /usr/share/ledgersmb/bin>
+ Require all denied
+ </Directory>
+
+-<Directory WORKING_DIR/utils>
++<Directory /usr/share/ledgersmb/utils>
+ Require all denied
+ </Directory>
+
+-<Directory WORKING_DIR/spool>
++<Directory /usr/share/ledgersmb/spool>
+ Require all denied
+ </Directory>
+
+-<Directory WORKING_DIR/templates>
++<Directory /var/share/ledgersmb/templates>
+ Require all denied
+ </Directory>
+
+-<Directory WORKING_DIR/LedgerSMB>
++<Directory /usr/share/ledgersmb/LedgerSMB>
+ Require all denied
+ </Directory>
++
++Alias /lsmbcss /var/lib/ledgersmb/css/
++<Directory /var/lib/ledgersmb/css>
++ Order Deny,Allow
++ Allow from 127.0.0.1
++ Allow from localhost
++ Deny from All
++</Directory>
More information about the Pkg-sql-ledger-commit
mailing list