So, I’ve enabled the mpm module as well mpm_itk so that each virtualhost runs as a different user. This works great, as one can imagine along with the security benefits. The problem, i’m having is this your able to a2ensite virtualhost config files as much as you want. However you cannot disable virtualhost config files because they aren’t owned by www-data/apache no longer.
Does anyone know the command to disable virtualhosts with the mpm_itk module enabled? It is not a simple a2disconf.
An example of commands used goes like this
ERROR: Conf nen.com does not exist!
Your choices are: charset localized-error-pages other-vhosts-access-log phpmyadmin security Which conf(s) do you want to disable (wildcards ok)?
Site nen.com already enabled
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.