summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-10 02:21:42 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-11-10 02:21:42 +0000
commit4544e7a60c3a7b4bfc590b5b87d56c70d1aa3cb6 (patch)
tree2e74825e4bd5b53c6ab05845b4eef71d738a3ca4
parent1249e81d14b8058e9265ae1553b90b224902482c (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-xsetup.pl22
1 files 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/
-<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|