Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Google Cloud Platform – Optimizing firewall makes site inaccessible

$
0
0

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.


Viewing all articles
Browse latest Browse all 59525

Trending Articles