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

SF.net SVN: ledger-smb:[4750] trunk



Revision: 4750
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4750&view=rev
Author:   einhverfr
Date:     2012-05-22 08:36:49 +0000 (Tue, 22 May 2012)
Log Message:
-----------
Rewrite rules for REST

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

Added Paths:
-----------
    trunk/rest/

Modified: trunk/ledgersmb-httpd.conf.template
===================================================================
--- trunk/ledgersmb-httpd.conf.template	2012-05-22 07:58:57 UTC (rev 4749)
+++ trunk/ledgersmb-httpd.conf.template	2012-05-22 08:36:49 UTC (rev 4750)
@@ -16,6 +16,7 @@
   # 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
@@ -36,6 +37,12 @@
   </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

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