Skip to content

vhost remove should check if there is a ssl apache config file #45

@catlynce

Description

@catlynce

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions