summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-03 05:15:02 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-10-03 05:15:02 +0000
commit3607a98952564aad7a4370da58d083365fbd7c76 (patch)
tree88e6374b1ae9044b4855daa282b2a70ee03cbd87
parent84b3533f6d54cf37e1bf6b616da4d02523a45fb3 (diff)
Adding rewrite rules to the Apache configuration to handle authorization headers
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@1693 4979c152-3d1c-0410-bac9-87ea11338e46
-rw-r--r--ledgersmb-httpd.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/ledgersmb-httpd.conf b/ledgersmb-httpd.conf
index aea55696..d7ab614d 100644
--- a/ledgersmb-httpd.conf
+++ b/ledgersmb-httpd.conf
@@ -1,6 +1,8 @@
Alias /ledgersmb WORKING_DIR/
<Directory WORKING_DIR>
+ RewriteEngine On
+ RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
AllowOverride All
AddHandler cgi-script .pl
Options ExecCGI Includes FollowSymlinks