Suddenly i get this error some of my sites. “RewriteEngine not allowed here”
Have not changed anything on webserver. Only updated debian 7 to 8. Some sites are working, some of not. Can’t figure out whats wrong. Im out of ideas
You should never do a major OS upgrade in place without a proper backup of your server configuration files and data. Basically a new OS upgrade will replace all the software, paths and configurations, sometimes it moves them around to new locations which is almost very likely what happen in your case. For example, maybe that Unix User and Group don’t match your correct web home user so the whole vhost configuration you posted will not work. You will have to check every single setting of Virtualmin, Apache, etc, manually to see what is wrong. There can be more than .htaccess file so maybe the one you are looking for is not the same that should be in the public_html directory.