Skip to content

Commit

Permalink
Enhance template Apache configuration.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@3225 4979c152-3d1c-0410-bac9-87ea11338e46
  • Loading branch information
ehuelsmann committed Jun 11, 2011
1 parent 1d35eab commit a1ed372
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ledgersmb-httpd.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ Alias /ledgersmb 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
Expand Down

0 comments on commit a1ed372

Please sign in to comment.