ispman/lib/ISPMan ApacheMan.pm,1.49,1.50

[email protected]
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24656

Modified Files:
	ApacheMan.pm 
Log Message:
fixed: add_vhost was not creating any AddVirtualHost processes for single webhosts


Index: ApacheMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan.pm,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- ApacheMan.pm	13 Feb 2004 20:36:08 -0000	1.49
+++ ApacheMan.pm	13 Feb 2004 22:33:50 -0000	1.50
@@ -377,17 +377,17 @@
 					    $self->getHostIp($_));
 	       }
 	   }
-	   
-	   # add process for each webhost
-	   for (@$webhosts){
-	       $self->addProcessToHost($r->param("ispmanDomain"),
-				       $_,
-				       "AddVirtualHost",
-				       $r->param("ispmanVhostName"));
-	   }
        }
    }
 
+   # add process for each webhost
+   for (@$webhosts){
+       $self->addProcessToHost($r->param("ispmanDomain"),
+			       $_,
+			       "AddVirtualHost",
+			       $r->param("ispmanVhostName"));
+   }
+
    # add process for vhost directory creation
    $self->addVirtualHostDirectoriesProcess(
                $r->param("ispmanDomain"), 



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
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.