Virtualmin Suexec Error /var/www/vhosts

After updating the Virtualmin > System Settings > Server Templates > Default Settings > Apache Website

The Suexec command on your system is configured to only run scripts under /home, but the Virtualmin virtual server home directory is /var/www/vhosts. CGI and PHP scripts run as domain owners will not be executed.

The solution is to update the first line of the www-data file located at:


By: Spencer Hill
Categorized in: Programming, Website Development
This post is related to: apache, apache2, linux, server admin, Server Administration, ubuntu, var, var/www, var/www/vhosts, web host, website hosting,


Since 2005 we've been offering digital and content marketing strategy and implementation. Including website development, search engine optimization and marketing, search marketing and more.

Continue Reading »






  • Logo for The Portland Company with a Coyote
    Thank you for using our site. x