AutoSSL .htaccess entries
This has also caused me some issues. Since this new feature appeared have had several websites crash as a direct result. It has been stable for the past couple of months however last night, one of our sites crashed at the exact second the Auto SSL routine ran on the server. On checking the .htaccess file, I found the letter "e" on the last line of the file. It's too much of a coinicidence that this was anything other than cPanel writing to the htaccess file.
Here are the last few lines from the htaccess file as I found them after the auto ssl had run and caused the site to crash...
# caching - make static images cache
ExpiresActive On
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType application/x-font-ttf "access plus 1 month"
ExpiresByType font/opentype "access plus 1 month"
ExpiresByType application/x-font-woff "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
# end mod_rewrite
e
Please sign in to leave a comment.
Comments
0 comments