By Ricky Cain
Owner of CainTech Services LLC
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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.