Update of /cvsroot/ispman/ispman/lib/ISPMan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3549/lib/ISPMan
Modified Files:
Tag: rel_1_1-bugfixes
ApacheMan.pm
Log Message:
merged fix from HEAD
Index: ApacheMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan.pm,v
retrieving revision 1.45.2.1
retrieving revision 1.45.2.2
diff -u -d -r1.45.2.1 -r1.45.2.2
--- ApacheMan.pm 5 Feb 2004 08:38:57 -0000 1.45.2.1
+++ ApacheMan.pm 14 Feb 2004 12:44:37 -0000 1.45.2.2
@@ -351,10 +351,14 @@
# will act as simple round-robin loadbalancing.
# Change them manually for proper hardware loadbalancing!
$self->addVhostDNSRecord($r->param("ispmanDomain"), $r->param("ispmanVhostName"), $self->getHostIp($_));
-
- # add process fro vhost creation
- $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
-------------------------------------------------------
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.