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

SF.net SVN: ledger-smb:[3225] trunk/ledgersmb-httpd.conf.template



Revision: 3225
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3225&view=rev
Author:   ehuelsmann
Date:     2011-06-11 19:21:14 +0000 (Sat, 11 Jun 2011)

Log Message:
-----------
Enhance template Apache configuration.

Modified Paths:
--------------
    trunk/ledgersmb-httpd.conf.template

Modified: trunk/ledgersmb-httpd.conf.template
===================================================================
--- trunk/ledgersmb-httpd.conf.template	2011-06-11 17:44:33 UTC (rev 3224)
+++ trunk/ledgersmb-httpd.conf.template	2011-06-11 19:21:14 UTC (rev 3225)
@@ -7,6 +7,13 @@
   # 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


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