I've used Virtualmin long time ago and I wanted to freshly install it for one client, since I have never done it from scratch,
So I installed Virtualmin with install script on Ubuntu16.04, updated all modules, then run Virtualmin hostmaster.
Then created virtual server and it all went smoothly. But when I got to install script for wordpress, I wanted to be on root path public_html due that I want my website to be run as example.com and not example.com/wordpress/.
Thing is, the website didn't load up and it gave me possibility to save a file called randomly and calling up application/x-httpd-php .
2 important information:
1) this doesn't happen when you create a website under some folder, but website ends up as example.com/wordpress/ adress
2) if you create website under wordpress folder, makeshift solution is to dump database, change path of website from example.com/wordpress/ to example.com Website can load up normally, you can access webmin and usermin.
I've seen many issues about this on forum, but I still haven't found solution other than workaround I came up. And that requires certain micromanagement and access to server which some users wont have and they cant create proper wordpress website.
I even tried editing /etc/apache2/mods-enabled/php7.0.conf and commenting out
php_admin_flag engine Off
I must be doing something wrong, tho these are really simple steps and workaround seems feezable that current Virtualmin has a bug a feezable fix we can come up with?
Thanks in advance, Shwele