Project

General

Profile

Bug #11356

Updated by Nicolas CHARLES over 6 years ago

When we install rudder-webapp, old and deprecated virtualhost are purge by this piece of code: 
 <pre> 
 for OLD_VHOST in rudder-default rudder-default-ssl rudder-default.conf rudder-default-ssl.conf; do 
         if [ -f /etc/%{apache_vhost_dir}/${OLD_VHOST} ]; then 
                 echo -n "INFO: An old rudder virtual host file has been detected (${OLD_VHOST}), it will be moved to /var/backups." 
                 mkdir -p /var/backups 
                 mv /etc/%{apache_vhost_dir}/${OLD_VHOST} /var/backups/${OLD_VHOST}-$(date +%s) 
                 echo " Done" 
         fi 
 done 
 </pre> 


 but this is never done in rudder-relay, so we may have old config files in the way (and incompatible, as rudder-default is only compatible with Apache Rudder 2.2)

Back