Replies: 0
Hello,
I have recently moved our WordPress installation over to a Google Cloud Platform VM instance. When I click optimize firewall it detects “Apache + mod_php” configuration, but when I click continue it results in the entire website returning an “Internal Server Error” until I remove the Wordfence entries from the .htaccess file.
I found some similar issues specific to Google Cloud Platform and tried the suggestions in those tickets, such as replacing:
<Directory /var/www/html>
Options -Indexes
AllowOverride FileInfo
</Directory>
with
<Directory /var/www/html>
Options -Indexes
AllowOverride All
</Directory>
in the /etc/apache2/sites-available/wordpress.conf file, but so far I have not been able to get it working.