[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [501] trunk/setup.pl



Revision: 501
          http://svn.sourceforge.net/ledger-smb/?rev=501&view=rev
Author:   einhverfr
Date:     2006-11-09 18:21:42 -0800 (Thu, 09 Nov 2006)

Log Message:
-----------
Changed setup.pl to use ledger-smb-httpd.conf rather than hardwiring configuration in 2 places

Modified Paths:
--------------
    trunk/setup.pl

Modified: trunk/setup.pl
===================================================================
--- trunk/setup.pl	2006-11-10 02:09:32 UTC (rev 500)
+++ trunk/setup.pl	2006-11-10 02:21:42 UTC (rev 501)
@@ -455,24 +455,10 @@
       $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|


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.