diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-10 02:21:42 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-11-10 02:21:42 +0000 |
commit | 4544e7a60c3a7b4bfc590b5b87d56c70d1aa3cb6 (patch) | |
tree | 2e74825e4bd5b53c6ab05845b4eef71d738a3ca4 | |
parent | 1249e81d14b8058e9265ae1553b90b224902482c (diff) |
Changed setup.pl to use ledger-smb-httpd.conf rather than hardwiring configuration in 2 places
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@501 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | setup.pl | 22 |
1 files changed, 4 insertions, 18 deletions
@@ -455,24 +455,10 @@ sub install_smb { $norw = 1; } - $directives = qq| -Alias /$alias $absolutealias/ -<Directory $absolutealias> - AllowOverride All - AddHandler cgi-script .pl - Options ExecCGI Includes FollowSymlinks - Order Allow,Deny - Allow from All -</Directory> - -<Directory $absolutealias/users> - Order Deny,Allow - Deny from All -</Directory> - -|; - - print FH $directives; + open (HTTPD, '< sql-ledger-httpd.conf'); + while ($line = <HTTPD>){ + print FH $line; + } close(FH); print qq| |