From 4544e7a60c3a7b4bfc590b5b87d56c70d1aa3cb6 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Fri, 10 Nov 2006 02:21:42 +0000 Subject: 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 --- setup.pl | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/setup.pl b/setup.pl index 9b583450..231df759 100755 --- a/setup.pl +++ b/setup.pl @@ -455,24 +455,10 @@ sub install_smb { $norw = 1; } - $directives = qq| -Alias /$alias $absolutealias/ - - AllowOverride All - AddHandler cgi-script .pl - Options ExecCGI Includes FollowSymlinks - Order Allow,Deny - Allow from All - - - - Order Deny,Allow - Deny from All - - -|; - - print FH $directives; + open (HTTPD, '< sql-ledger-httpd.conf'); + while ($line = ){ + print FH $line; + } close(FH); print qq| -- cgit v1.2.3