ispman/install-data/templates vhost.ldif.template,1.4,1.5
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-serv31332/install-data/templates
Modified Files:
vhost.ldif.template
Log Message:
fixing small bugs with defaultVhostFtpQuota and ScriptDirOptions
Index: vhost.ldif.template
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/templates/vhost.ldif.template,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- vhost.ldif.template 1 May 2004 09:41:34 -0000 1.4
+++ vhost.ldif.template 1 May 2004 18:20:32 -0000 1.5
@@ -23,7 +23,7 @@
ispmanVhostServerAlias: <perl>$r->param("ispmanVhostServerAlias") || ""</perl>
FTPStatus: <perl>$r->param("FTPStatus") || ""</perl>
ispmanVhostStats: <perl>$r->param("ispmanVhostStats") || "enable"</perl>
-FTPQuotaMBytes: <perl>$r->param("FTPQuotaMBytes") || $ispman->getConf("ispmanVhostFtpQuota")</perl>
+FTPQuotaMBytes: <perl>$r->param("FTPQuotaMBytes") || $ispman->getConf("defaultVhostFtpQuota")</perl>
ispmanVhostDocumentRoot: <perl>$r->param("ispmanVhostDocumentRoot") || "htdocs"</perl>
ispmanVhostScriptDir: <perl>$r->param("ispmanVhostScriptDir") || "cgi-bin"</perl>
ispmanVhostIpAddress: <perl>$r->param("ispmanVhostIpAddress") || $ispman->getConf("apacheVhostsIP") || "*"</perl>
@@ -33,6 +33,7 @@
<perl>
$text = '';
+
foreach my $option ($ispman->as_array($r->param("ispmanVhostDocumentRootOption"))) {
$text .= "ispmanVhostDocumentRootOption: " . $option . "\n";
}
@@ -43,7 +44,7 @@
</perl>
<perl>
- "ispmanVhostExtraConf: " . $r->param("ispmanVhostExtraConf") if $r->param("ispmanVhostExtraConf")
+ "ispmanVhostExtraConf: " . $r->param("ispmanVhostExtraConf") || ""
</perl>
<perl>
-------------------------------------------------------
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