I am experiencing some apache configuration errors when restoring a virtual-server. I am moving from ubuntu 12.04 LTS server to 16.04 LTS server, each running virtualmin 1.831 professional. I am using php fcgid mode on both servers, and so long as I clear up the apache configuration errors, Apache comes back up just fine.
It should also be noted that I am using the ppa:ondrej edition of php 5.6 for site backwards compatibility.
The apache configuration is the same regardless of a gui or commandline restoration.
The file ending in "orig.txt" is the original apache configuration, and the other file is the modified apache file as a result of restoring a backup.
I note several things:
1) the Options directive on line 13 has been modified to read "+All" which apache 2.4 does not allow. I must strip this + sign to have apache restart properly. 2) the extra options in the AllowOverride statement on line 16 have been stripped. (it seems fine, but suspicious) 3) I also note that "allow from all" is still present on line 27 (line 24 in the original file), and "require all granted" has been added.