Submitted by ChrisBlackwell on Fri, 09/23/2016 - 08:31
When a virtual host has proxying enabled and you disable the server, the apache vhost is not disabled
disabling the server adds the following directive
AliasMatch ^/.*$ /home/{hostname}/public_html/disabled_by_virtualmin.html
however this does nothing because the proxy directives take precedence
ProxyPass / https://example.com/
ProxyPassReverse / https://example.com/
SSLProxyEngine on
<Proxy *>
allow from all
</Proxy>
Status:
Active
Comments
Submitted by JamieCameron on Fri, 09/23/2016 - 23:31 Comment #1
You're right - the proxying takes precedence, and can't be easily over-ridden via another Apache directive.
The work-around I'd recommend is configuring Virtualmin to also disable the DNS domain when disabling a virtual server.