CVS: ispman/bin ispman.ldap2apache,1.5,1.6

Atif Ghaffar <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/bin
In directory sc8-pr-cvs1:/tmp/cvs-serv11902

Modified Files:
	ispman.ldap2apache 
Log Message:
adapted behaviour if vhoststyle is dir

Index: ispman.ldap2apache
===================================================================
RCS file: /cvsroot/ispman/ispman/bin/ispman.ldap2apache,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ispman.ldap2apache	7 Oct 2003 15:09:52 -0000	1.5
--- ispman.ldap2apache	8 Oct 2003 04:10:36 -0000	1.6
***************
*** 32,36 ****
  }
  
!  
  $ispman=ISPMan->new();
  $ispman->setConfig('debug', $opts{'d'});
--- 32,36 ----
  }
  
! 
  $ispman=ISPMan->new();
  $ispman->setConfig('debug', $opts{'d'});
***************
*** 66,69 ****
--- 66,77 ----
  
  &make_vhosts_conf($template);
+ 
+ if ($ispman->getConf("apacheVhostsStyle") =~ /dir/m) {
+    for (keys %$_domains){
+        &make_vhosts_conf($template, $_);
+    }
+ } else {
+   &make_vhosts_conf($template);
+ }
  
  



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.