Apache directives for multiple PHP per directory aren't being deleted from the SSL vhost when removed.

Config:
OS: Centos 7.5
Default php: 5.4.18
Second php: 7.1.8 from SCL

Steps to reproduce:
1. Add multiple PHP to any directory in virtualmin.
2. Delete multiple PHP entry in virtualmin.

Result:
< Directory > section for specified multiple PHP directory in httpd.conf is deleted from :80 vhost and not from :443 vhost

Expected result:
< Directory > section is deleted from both the port 80 and port 443 vhost.

When removing multiple PHP support from a directory in virtualmin after saving httpd.conf is updated to remove the entries for the directory but they're only being removed from the http vhost and not the https vhost.

Status: 
Active

Comments