When removing vhost two files are removed:
- the main apache conf file
- the custom avanti conf file
The problem: if there is a ssl conf file in /etc/apache2/sites-available it will have a reference to the already removed custom avanti conf file and then apache configtest task will return an error.
Solution:
vhost.remove should check if the host as ssl enabled and remove the fle before removing the avanti conf file.
When removing vhost two files are removed:
The problem: if there is a ssl conf file in
/etc/apache2/sites-availableit will have a reference to the already removed custom avanti conf file and then apache configtest task will return an error.Solution:
vhost.remove should check if the host as ssl enabled and remove the fle before removing the avanti conf file.