CVS: ispman/lib http.lib,1.43,1.44
Atif Ghaffar <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv1611
Modified Files:
http.lib
Log Message:
adding vhostConfFile
Index: http.lib
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/http.lib,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** http.lib 8 Oct 2003 02:27:33 -0000 1.43
--- http.lib 8 Oct 2003 02:58:29 -0000 1.44
***************
*** 11,16 ****
if ($ispman->getConf("apacheVhostsStyle") =~ /dir/m) {
unless ( -d "$vhostConfFile" && -d "$vhostConfFile/hash" && -d "$vhostConfFile/conf") {
! print "Apache file dirs did not exist. Creating now.\n";
print "mkdir -p $vhostConfFile/conf\n";
system "mkdir -p $vhostConfFile/conf\n";
--- 11,17 ----
if ($ispman->getConf("apacheVhostsStyle") =~ /dir/m) {
+ my $vhostConfFile = $apacheVhostsFile;
unless ( -d "$vhostConfFile" && -d "$vhostConfFile/hash" && -d "$vhostConfFile/conf") {
! print "Apache configuration file directories did not exist. Creating now.\n";
print "mkdir -p $vhostConfFile/conf\n";
system "mkdir -p $vhostConfFile/conf\n";
***************
*** 57,61 ****
!
my $domainInfo = $ispman->getDomainInfo($domain);
my $vhostConfFile = $apacheVhostsFile;
--- 58,62 ----
!
my $domainInfo = $ispman->getDomainInfo($domain);
my $vhostConfFile = $apacheVhostsFile;
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf