anchor.diff:  	webapps = mkOption {
   	  default = [ pkgs.tomcat6 ];
   	  description = "List containing WAR files or directories with WAR files which are web applications to be deployed on Tomcat";
  +	};
  +	
  +	virtualHosts = mkOption {
  +	  default = [];
  +	  description = "List consisting of a virtual host name and a list of web applications to deploy on each virtual host";
   	};
   	
   	axis2 = {
  
positive.code: 	    sed -e 's|''${catalina.home}|''${catalina.base}|g' \
                  -e 's|shared.loader=|shared.loader=''${catalina.base}/shared/lib/*.jar|' \
  		${pkgs.tomcat6}/conf/catalina.properties > ${cfg.baseDir}/conf/catalina.properties
  	    	    
  	    # Create a logs/ directory
  	    mkdir -p ${cfg.baseDir}/logs
  	    chown ${cfg.user}:${cfg.group} ${cfg.baseDir}/logs
  
negative.code: 	    mkdir -p ${cfg.baseDir}/conf
  	    chown ${cfg.user}:${cfg.group} ${cfg.baseDir}/conf
  	    
  	    # Symlink the config files in the conf/ directory (except for catalina.properties and server.xml)
  	    for i in $(ls ${pkgs.tomcat6}/conf | grep -v catalina.properties server.xml)
  	    do
  	        ln -sf ${pkgs.tomcat6}/conf/$i ${cfg.baseDir}/conf/`basename $i`
  	    done
  