<Directory ${HOME}/cgi-bin>
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks
so i need to remove this 3 lines that virtualmin adds automatically when i add a new domain to my virtualservers without removing them manually, if this entries:
RemoveHandler .php
RemoveHandler .php5
php_admin_value engine Off
are on a template vhost php pages and whole website gives me a download and don’t execute php.
The only time Virtualmin should be adding those is if mod_php is enabled in Apache, and you’re using an execution mode other than mod_php. If you aren’t using mod_php I recommend disabling it entirely (I have wanted to disable mod_php, by default, for about five years, but people really get mad when I try!). But, disabling it will cause Virtualmin to not add those directives.