CVS: ispman/install-data/templates vhosts.conf.template.midgard-live,NONE,1.1.2.1 vhosts.conf.template.midgard-staging,NONE,1.1.2.1 vhosts.conf.template.ssl,NONE,1.1.2.1 vhosts.conf.template,1.15,1.15.2.1
Tarjei Huse <[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:/tmp/cvs-serv27595
Modified Files:
Tag: ALTVHOSTS
vhosts.conf.template
Added Files:
Tag: ALTVHOSTS
vhosts.conf.template.midgard-live
vhosts.conf.template.midgard-staging vhosts.conf.template.ssl
Log Message:
Template changes for supporting different kinds of vhosts:
vhosts.conf.template - added support for ports + including the typetemplate.
vhosts.conf.template.midgard-live - normal midgard host.
vhosts.conf.template.midgard-staging - Midgard staginghost on port 8001.
vhosts.conf.template.ssl - SSL host
--- NEW FILE ---
--- NEW FILE ---
--- NEW FILE ---
Index: vhosts.conf.template
===================================================================
RCS file: /cvsroot/ispman/ispman/install-data/templates/vhosts.conf.template,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -C2 -r1.15 -r1.15.2.1
*** vhosts.conf.template 4 Aug 2003 03:39:06 -0000 1.15
--- vhosts.conf.template 8 Sep 2003 16:08:12 -0000 1.15.2.1
***************
*** 1,3 ****
! <VirtualHost <perl>$ispmanVhostIpAddress</perl>>
ServerName <perl>$servername</perl>
<perl>if ($ispmanVhostServerAlias){
--- 1,4 ----
! <perl> unless ($ispmanVhostPort) {$ispmanVhostPort = "80";} </perl>
! <VirtualHost <perl>$ispmanVhostIpAddress:$ispmanVhostPort</perl>>
ServerName <perl>$servername</perl>
<perl>if ($ispmanVhostServerAlias){
***************
*** 18,21 ****
--- 19,33 ----
<perl>$statalias</perl>
<perl>$ispmanVhostExtraConf</perl>
+
+ <perl>
+ # for each extra ispmanVhostType add the contents of the template:
+ for my $vhostTemplate ($ispmanVhostType) {
+ #If there is a site specific file load and evaluate it
+ $template=$ispman->getTemplate(join "/", ($ispman->getConf("installDir"), "templates/vhosts.conf.template.".$vhostTemplate));
+ return $template->fill_in(PACKAGE => __PACKAGE__);
+ }
+ </perl>
+
+
<Directory <perl>$documentroot</perl>>
<perl>$ispmanVhostDocumentRootOption</perl>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf