Apache server template ignored

Hello,

we have a nice apache server template and since the update to the latest version of virtualmin of today it gets ignored:

Template:

ServerName ${DOM}
ServerAlias www.${DOM}
DocumentRoot ${HOME}/public_html
ErrorLog /cluster/home/${DOM}/logs/${DOM}_error_log
CustomLog /cluster/home/${DOM}/logs/${DOM}_access_log combined
DirectoryIndex index.html index.htm index.php
<FilesMatch .php$>
SetHandler “proxy:fcgi://127.0.0.1:${UID}”

<Directory ${HOME}/public_html>
Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch
allow from all
AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch


Result:

ServerName kuechenstudio-creativ.at ServerAlias www.kuechenstudio-creativ.at DocumentRoot /cluster/home/kuechenstudio-creativ.at/public_html ErrorLog /cluster/home/kuechenstudio-creativ.at/logs/kuechenstudio-creativ.at_error_log CustomLog /cluster/home/kuechenstudio-creativ.at/logs/kuechenstudio-creativ.at_access_log combined DirectoryIndex index.html index.htm index.php Options -Indexes +IncludesNOEXEC +SymLinksIfOwnerMatch allow from all AllowOverride All Options=ExecCGI,Includes,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch Require all granted Action application/x-httpd-php5 /cgi-bin/php5.cgi Action application/x-httpd-php5.6 /cgi-bin/php5.6.cgi Action application/x-httpd-php7.0 /cgi-bin/php7.0.cgi Action application/x-httpd-php7.1 /cgi-bin/php7.1.cgi AddType application/x-httpd-php5 .php5 AddType application/x-httpd-php5.6 .php5.6 AddType application/x-httpd-php7.0 .php7.0 AddType application/x-httpd-php7.1 .php7.1 AddType application/x-httpd-php7.1 .php RemoveHandler .php RemoveHandler .php5 RemoveHandler .php5.6 RemoveHandler .php7.0 RemoveHandler .php7.1

We manage php-fpm on our own (CentOS with Remi repository), but now it seems Virtualmin recongizes them. Maybe the simplest way would be to disable php-support in Virtualmin at all if that is possible.

Thanks

Check configuration:

Your system has 4.76 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB. Apache is installed.

The following PHP versions are available : 5.4.16 (/bin/php-cgi), 5.6.29 (/bin/php56-cgi), 7.0.27 (/bin/php70-cgi), 7.1.7 (/bin/php71-cgi)

PHP-FPM support was not detected : Apache module mod_fcgid is missing or not enabled

Apache is configured to host SSL websites.

MySQL is installed and running.

Using network interface eth0 for virtual IPs.

Default IPv4 address for virtual servers is 192.168.2.200.

Both user and group quotas are enabled for home and email directories.

All commands needed to create and restore backups are installed.

The selected package management and update systems are installed OK.

Chroot jails are not available : The Jailkit command jk_init was not found on your system - maybe the jailkit package is not installed?

Nobody any idea?

Hi!

Did you find any solution? The issue is the same for us, apache website setting of the templates is totally ignored.

Bye,
Adam

Hi,

no solution found. Also updating Virtualmin did not solve it for us. Seems nobody is interested in solving the issue.

Best,
Thomas

That’s so sad :frowning: