ispman/lib/ISPMan/ApacheMan Aliases.pm,1.11,1.12
Joerg Delker <[email protected]> Thu, 15 Feb 2007 08:28:34 +0000
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv28322/lib/ISPMan/ApacheMan
Modified Files:
Aliases.pm
Log Message:
refixed bug [ 1656167 ] Website alias of the type "mydomain.de"
Index: Aliases.pm
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/ISPMan/ApacheMan/Aliases.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Aliases.pm 11 Feb 2007 12:21:51 -0000 1.11
+++ Aliases.pm 15 Feb 2007 08:28:32 -0000 1.12
@@ -87,12 +87,9 @@
);
$self->addVhostProcess( $domain, $vhost, "ModifyVirtualHost", "ispmanVhostName=$vhost" );
- # optimize special case where alias=domain
- $alias="." if $alias eq $domain;
-
# if alias points to foreign domain skip DNS entry
return if $alias =~ /\..+/;
-
+
if ( $self->checkDomainType( $domain, "primary" ) ) {
$self->newDNSRecord( $domain, "cNAMERecord", $alias, $vhost,
{ txTRecord => "ispmanVirtualHostAlias:$vhost.$domain" } );
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV