Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change 
notification.

The following page has been changed by sjorge:
http://wiki.apache.org/httpd/ApacheVirtualHostMysql/hosts%2econf

The comment on the change is:
                        

------------------------------------------------------------------------------
                          $vhost =~ s/%db_name%/$dbcfg{'database'}/g;
                          $vhost =~ s/%db_user%/$dbcfg{'user'}/g;
                          $vhost =~ s/%db_pass%/$dbcfg{'pass'}/g;
+                         
+                         # push vhosts to apache
+                         $srv->add_config([split /\n/, $vhost]);
  
-                         $srv->add_config([split /\n/, $vhost]);
+                         # debugging
+                         #print "----" . $name . "----";
+                         #print $vhost;
+ 
                  }
  
                  # cleanup

Reply via email to