summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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|