Replies: 0
Hello,
I have set up wordpress on a google cloud compute device, and set up cloudflare to proxy to it. After installing wordfence, it seems fine. Then I allow it to apply the settings based on what it detected, and my site craps out.
I currently have cloudflare configured to only allow my public IP to get through to the site until I get all of the content finalized. It is a simple about me site using twenty twenty four theme.
I have told it to use xforwarder content for the source IP, and after that it succesfully detects my public IP.
I wanted to get the free version running first before buying premium. Otherwise if I already had premium I would just submit a support ticket.
Anyway, to get back in I have to modify the htaccess file to commend out Require all deined. I also rename the wordfence plugin and reboot. Then I uninstall wordfence, reinstall it, and uninstall it to cleanly remove it.
Any idiea why it immediately causes the site to crap out? This is what i get on the site.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com 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.
And I am seeing this in the apache log
[Thu Aug 01 05:00:54.762686 2024] [core:notice] [pid 654:tid 654] AH00094: Command line: ‘/usr/sbin/apache2’
[Thu Aug 01 05:01:36.779296 2024] [core:alert] [pid 698:tid 698] [client 162.158.154.79:38300] /var/www/html/.htaccess: Require not allowed in <Files> context
[Thu Aug 01 05:01:38.663449 2024] [core:alert] [pid 699:tid 699] [client 162.158.154.79:22832] /var/www/html/.htaccess: Require not allowed in <Files> context
Thanks for any help