How to fix Error 500 on Acquia


Trying out Aquia for the first time and I’m able to get my Drupal 7 website running on Aquias Dev desktop but when I migrate my work to Aquia Cloud I get the following error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [no address given] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

The error log reads:

apache-error free-7583 [Mon Jul 02 15:43:27 2018] [alert] [pid=3649] "" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36" forwarded_for="" request_id="" hosting_site=mysite /var/www/html/mysite/.htaccess: <IfModule not allowed here

I’ve tried replacing the .htaccess with contents from Drupals git repository and from a blank acquia installation but I can’t seem to get this issue fixed on the cloud version.

قالب وردپرس