ispman/lib/ISPMan ApacheMan.pm,1.71,1.72 DomainMan.pm,1.70,1.71
Joerg Delker <[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-serv9287/lib/ISPMan
Modified Files:
ApacheMan.pm DomainMan.pm
Log Message:
fixes bug [ 974188 ] auto vhost www but no DNS record
Index: ApacheMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan.pm,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- ApacheMan.pm 8 Jun 2004 18:54:40 -0000 1.71
+++ ApacheMan.pm 19 Jun 2004 22:20:21 -0000 1.72
@@ -373,7 +373,8 @@
# only single webhost is defined
# (use webhost's IP if no explicit was supplied)
my $ip = (
- ( $r->param("ispmanVhostIpAddress") eq "*" )
+ ( !$r->param("ispmanVhostIpAddress") ||
+ $r->param("ispmanVhostIpAddress") eq "*" )
? $self->getHostIp( $webhosts[0] )
: $r->param("ispmanVhostIpAddress")
);
Index: DomainMan.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/DomainMan.pm,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- DomainMan.pm 14 Jun 2004 08:48:45 -0000 1.70
+++ DomainMan.pm 19 Jun 2004 22:20:21 -0000 1.71
@@ -254,7 +254,8 @@
my $q = new CGI(
{
'ispmanVhostName' => 'www',
- 'ispmanDomain' => $domain
+ 'ispmanDomain' => $domain,
+ 'webHost' => [$r->param("ispmanDomainDefaultWebHost")]
}
);
$self->addVhost($q);
-------------------------------------------------------
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