# This file must be edited to substitute the current path with WORKING_DIR
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
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.
Require all denied
RewriteEngine On
RewriteBase /ledgersmb/rest/
RewriteRule .* ../rest-handler.pl
Require all denied
Require all denied
Require all denied
Require all denied
Require all denied
Require all denied