[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[6482] branches/1.3/ledgersmb-httpd-2.4.conf. template



Revision: 6482
          http://sourceforge.net/p/ledger-smb/code/6482
Author:   einhverfr
Date:     2014-01-16 12:58:53 +0000 (Thu, 16 Jan 2014)
Log Message:
-----------
ledgersmb apache 2.4 config added

Added Paths:
-----------
    branches/1.3/ledgersmb-httpd-2.4.conf.template

Added: branches/1.3/ledgersmb-httpd-2.4.conf.template
===================================================================
--- branches/1.3/ledgersmb-httpd-2.4.conf.template	                        (rev 0)
+++ branches/1.3/ledgersmb-httpd-2.4.conf.template	2014-01-16 12:58:53 UTC (rev 6482)
@@ -0,0 +1,56 @@
+# This file must be edited to substitute the current path with WORKING_DIR
+
+Alias /ledgersmb WORKING_DIR/
+
+<Directory WORKING_DIR>
+
+  # Rewrite rule to allow HTTP Authorization information to the scripts only
+  # from this directory.
+  RewriteEngine On
+
+  # Redirect the /ledgersmb and /ledgersmb/ URL paths to
+  # the true login script: /ledgersmb/login.pl
+  RewriteRule ^/ledgersmb/?$ /ledgersmb/login.pl [R]
+
+  # Indicate that the HTTP Authorization data should be passed
+  # to the CGI scripts running from this directory
+  RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
+
+
+  Options +ExecCGI Includes FollowSymlinks
+  AllowOverride All
+  AddHandler cgi-script .pl
+
+  # By default, only allow from localhost.  If you change this, please be
+  # advised that you should use SSL protection on any and all network
+  # connections that access this application in order to protect usernames and
+  # passwords.
+  Require ip 127.0.0.1
+  Require host localhost
+  Require all denied
+
+  # The rest of this file just tightens up security.
+  <Files ~ "\.conf$">
+    Require all denied
+  </Files>
+</Directory>
+
+<Directory WORKING_DIR/bin>
+  Require all denied
+</Directory>
+
+<Directory WORKING_DIR/utils>
+  Require all denied
+</Directory>
+
+<Directory WORKING_DIR/spool>
+  Require all denied
+</Directory>
+
+<Directory WORKING_DIR/templates>
+  Require all denied
+</Directory>
+
+<Directory WORKING_DIR/LedgerSMB>
+  Require all denied
+</Directory>

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits