Thanks for this guys. I remembered that I had a subdomain with a .conf so I tested it there. I still got a 500 database error when I tried to add the code to that .htaccess file - and worse still I forgot to remove the AllowOverride line before I went to bed and my server crashed out in the night.
When I tried to restart Apache to it said:
AH00526: Syntax error on line 14 of /etc/apache2/sites-enabled/static.supermommyclub.com.conf:
AllowOverride not allowed here
Action ‘configtest’ failed.
I went in and removed the line and my site came back online.
I’m at a loss as to why I can’t get the mod_headers to work and also need to know why I am getting so many intermittent unable to connect to database errors. I am having far too much downtime.
Any hints onto what I can be checking for?