[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5825] trunk
- Subject: SF.net SVN: ledger-smb:[5825] trunk
- From: ..hidden..
- Date: Sat, 18 May 2013 21:48:32 +0000
Revision: 5825
http://sourceforge.net/p/ledger-smb/code/5825
Author: ehuelsmann
Date: 2013-05-18 21:48:32 +0000 (Sat, 18 May 2013)
Log Message:
-----------
Commit an additional configuration template as suggested by Turtle.
Added Paths:
-----------
trunk/ledgersmb-httpd-2.0-2.2.conf.template
trunk/ledgersmb-httpd-2.4.conf.template
Removed Paths:
-------------
trunk/ledgersmb-httpd.conf.template
Copied: trunk/ledgersmb-httpd-2.0-2.2.conf.template (from rev 5817, trunk/ledgersmb-httpd.conf.template)
===================================================================
--- trunk/ledgersmb-httpd-2.0-2.2.conf.template (rev 0)
+++ trunk/ledgersmb-httpd-2.0-2.2.conf.template 2013-05-18 21:48:32 UTC (rev 5825)
@@ -0,0 +1,74 @@
+# 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]
+
+
+ AllowOverride All
+ AddHandler cgi-script .pl
+ Options ExecCGI Includes FollowSymlinks
+
+ # 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.
+ Order Deny,Allow
+ Allow from 127.0.0.1
+ Allow from localhost
+ Deny from All
+
+ # The rest of this file just tightens up security.
+ <Files ~ "\.conf$">
+ Order Deny,Allow
+ Deny from All
+ </Files>
+</Directory>
+
+<Directory WORKING_DIR/rest>
+ RewriteEngine On
+ RewriteBase /ledgersmb/rest/
+ RewriteRule .* ../rest-handler.pl
+</Directory>
+
+<Directory WORKING_DIR/users>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/bin>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/utils>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/spool>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/templates>
+ Order Deny,Allow
+ Deny from All
+</Directory>
+
+<Directory WORKING_DIR/LedgerSMB>
+ Order Deny,Allow
+ Deny from All
+</Directory>
Copied: trunk/ledgersmb-httpd-2.4.conf.template (from rev 5817, trunk/ledgersmb-httpd.conf.template)
===================================================================
--- trunk/ledgersmb-httpd-2.4.conf.template (rev 0)
+++ trunk/ledgersmb-httpd-2.4.conf.template 2013-05-18 21:48:32 UTC (rev 5825)
@@ -0,0 +1,66 @@
+# 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]
+
+
+ AllowOverride All
+ AddHandler cgi-script .pl
+ Options ExecCGI Includes FollowSymlinks
+
+ # 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/rest>
+ RewriteEngine On
+ RewriteBase /ledgersmb/rest/
+ RewriteRule .* ../rest-handler.pl
+</Directory>
+
+<Directory WORKING_DIR/users>
+ Require all denied
+</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>
Deleted: trunk/ledgersmb-httpd.conf.template
===================================================================
--- trunk/ledgersmb-httpd.conf.template 2013-05-18 14:16:28 UTC (rev 5824)
+++ trunk/ledgersmb-httpd.conf.template 2013-05-18 21:48:32 UTC (rev 5825)
@@ -1,74 +0,0 @@
-# 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]
-
-
- AllowOverride All
- AddHandler cgi-script .pl
- Options ExecCGI Includes FollowSymlinks
-
- # 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.
- Order Deny,Allow
- Allow from 127.0.0.1
- Allow from localhost
- Deny from All
-
- # The rest of this file just tightens up security.
- <Files ~ "\.conf$">
- Order Deny,Allow
- Deny from All
- </Files>
-</Directory>
-
-<Directory WORKING_DIR/rest>
- RewriteEngine On
- RewriteBase /ledgersmb/rest/
- RewriteRule .* ../rest-handler.pl
-</Directory>
-
-<Directory WORKING_DIR/users>
- Order Deny,Allow
- Deny from All
-</Directory>
-
-<Directory WORKING_DIR/bin>
- Order Deny,Allow
- Deny from All
-</Directory>
-
-<Directory WORKING_DIR/utils>
- Order Deny,Allow
- Deny from All
-</Directory>
-
-<Directory WORKING_DIR/spool>
- Order Deny,Allow
- Deny from All
-</Directory>
-
-<Directory WORKING_DIR/templates>
- Order Deny,Allow
- Deny from All
-</Directory>
-
-<Directory WORKING_DIR/LedgerSMB>
- Order Deny,Allow
- Deny from All
-</Directory>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.