These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for RewriteEngine not allowed here on the new forum.
Hi
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 :/
vhost config file: https://pastebin.com/RAD552V5
EDIT: In whatever reason there was .htaccess file in /home/username/.htaccess not in public_html
Hello ufo56,
Can you paste the error message on virtual server error log here ?
"Have not changed anything on webserver" and "Only updated debian 7 to 8" doesn't add up.
Distro upgrades are a big deal and often breaks stuff.
I provide FREE Server Management Services in exchange of money
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.