cPanel update broke .htaccess
Some sort of cpanel update happened last night. The data center does not think it was a version change, just some sort of automatic update?? We are using cPanel & WHM 64.0 (build 31)
the update broke all sites.
everyone is seeing this:
403
Forbidden
You don't have permission to access / on this server.
all sites have .htaccess in public_html routing them to public_html/site/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /site/index.php [L]
this worked from somewhere mid 2007 until roughly 3am july 13 2017
so now what we have to do to get around this error looks like this:
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^(.*)$ /site/$1 [L]
any ideas why this change in syntax was required?
-
Hello @xdan, Could you open a support ticket using the link in my signature so we can take a closer look at your system to determine what caused this issue? Thank you. 0 -
I stepped through the ticket creation system on our server and created a ticket for cpanel. The number is 8714051 0 -
In my case this was to the newly introduced option "Optimize .htaccess (AllowOverride) [?]" in Apache Global Configuration. Disabled this option and everything back to normal. 0
Please sign in to leave a comment.
Comments
3 comments