ispman/install-data/templates vhost.ldif.template,1.7,1.8

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/install-data/templates
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5298/install-data/templates

Modified Files:
	vhost.ldif.template 
Log Message:
removed blank lines which caused bugs when adding the parsed template

Index: vhost.ldif.template
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/templates/vhost.ldif.template,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- vhost.ldif.template	20 Jun 2004 13:04:44 -0000	1.7
+++ vhost.ldif.template	20 Jun 2004 19:02:58 -0000	1.8
@@ -34,32 +34,28 @@
 
 <perl>
   $text = '';
-  
+
+  # setting ispmanVhostDocumentRootOption  
   foreach my $option ($ispman->as_array($r->param("ispmanVhostDocumentRootOption"))) {
     $text .= "ispmanVhostDocumentRootOption: " . $option . "\n";
   }
+
+  # setting ispmanVhostScriptDirOption
   foreach my $option ($ispman->as_array($r->param("ispmanVhostScriptDirOption"))) {
     $text .= "ispmanVhostScriptDirOption: " . $option . "\n";
   }
-  $text;
-</perl>
 
-<perl>
-  $text = '';
+  # setting ispmanVhostExtraConf
   if ($r->param("ispmanVhostExtraConf")){
-    $text="ispmanVhostExtraConf: " . $r->param("ispmanVhostExtraConf");
+    $text.="ispmanVhostExtraConf: " . $r->param("ispmanVhostExtraConf");
   }
-  $text;
-</perl>   
 
-<perl>
-  $text = '';
+  # setting webHost
   foreach my $webhost ($ispman->as_array($r->param("webHost"))) {
     $text .= "webHost: " . $webhost . "\n";
   }
   $text;
 </perl>
-
 <perl>
    $substmap={ vhost => $r->param("ispmanVhostName"), domain => $r->param("ispmanDomain")};
    
@@ -71,9 +67,6 @@
    		$ispman->substitute($ispman->getConf('apacheStatDirectory'),$substmap));
    $text
 </perl>
-
-
-
 <perl>
    #If there is a site specific file load and evaluate it
    $template=$ispman->getTemplate(join "/", ($ispman->getConf("installDir"), "templates/vhost.ldif.template.local"));



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.