ispman/lib/ISPMan/ApacheMan Aliases.pm,1.6,1.7
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9018/ApacheMan
Modified Files:
Aliases.pm
Log Message:
fixing bug [ 953996 ] Website Aliases: try to create CNAME record even for nodns
Index: Aliases.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan/Aliases.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Aliases.pm 4 Aug 2003 06:26:10 -0000 1.6
+++ Aliases.pm 24 May 2004 20:20:02 -0000 1.7
@@ -96,8 +96,10 @@
}
);
- $self->addVhostProcess($domain, $vhost, "ModifyVirtualHost", $vhost);
- $self->newDNSRecord($domain, "cNAMERecord", $alias, $vhost, {txTRecord => "ispmanVirtualHostAlias:$vhost.$domain"});
+ $self->addVhostProcess($domain, $vhost, "ModifyVirtualHost", $vhost);
+ if ($self->checkDomainType($domain,"primary")) {
+ $self->newDNSRecord($domain, "cNAMERecord", $alias, $vhost, {txTRecord => "ispmanVirtualHostAlias:$vhost.$domain"});
+ }
}
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click