ispman/install-data/templates domain.extended.ldif.template,1.11,1.12 vhost.ldif.template,1.6,1.7
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/install-data/templates
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9494/install-data/templates
Modified Files:
domain.extended.ldif.template vhost.ldif.template
Log Message:
providing valid defaults for FTPStatus
Index: vhost.ldif.template
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/templates/vhost.ldif.template,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- vhost.ldif.template 20 Jun 2004 11:17:19 -0000 1.6
+++ vhost.ldif.template 20 Jun 2004 13:04:44 -0000 1.7
@@ -21,7 +21,7 @@
$ispman->getConf('userPassHashMethod'))</perl>
loginShell: <perl>$ispman->getConf("vhostShell")</perl>
ispmanVhostServerAlias: <perl>$r->param("ispmanVhostServerAlias") || ""</perl>
-FTPStatus: <perl>$r->param("FTPStatus") || ""</perl>
+FTPStatus: <perl>$r->param("FTPStatus") || "active"</perl>
ispmanStatus: active
ispmanVhostStats: <perl>$r->param("ispmanVhostStats") || "enable"</perl>
FTPQuotaMBytes: <perl>$r->param("FTPQuotaMBytes") || $ispman->getConf("defaultVhostFtpQuota")</perl>
Index: domain.extended.ldif.template
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/templates/domain.extended.ldif.template,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- domain.extended.ldif.template 24 May 2004 20:45:47 -0000 1.11
+++ domain.extended.ldif.template 20 Jun 2004 13:04:44 -0000 1.12
@@ -12,6 +12,6 @@
<perl>$mailHost=$r->param("ispmanDomainDefaultMailDropHost"); if($mailHost){$text="ispmanDomainDefaultMailDropHost: $mailHost\n";} else {$text=""}; $text</perl>
<perl>$fileHost=$r->param("ispmanDomainDefaultFileServer"); if($fileHost){$text="ispmanDomainDefaultFileServer: $fileHost\nDestinationAddress: $fileHost\n";} else {$text=""}; $text</perl>
<perl>@webHosts=$ispman->as_array($r->param("ispmanDomainDefaultWebHost")); $text=""; for (@webHosts){ $text.="ispmanDomainDefaultWebHost: $_\n";}; $text</perl>
-FTPStatus: <perl>$r->param("FTPStatus")</perl>
+FTPStatus: <perl>$r->param("FTPStatus") || "active"</perl>
FTPQuotaMBytes: <perl>$r->param("FTPQuotaMBytes")||1</perl>
-------------------------------------------------------
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