Conflict with the 7G firewall by Jeff Starr
-
Dear Plugin Developers,
I tried the Cachify plugin and noticed something unexpected. To narrow down the problem exactly, I disabled all other plugins on the website and cleaned up the .htaccess file.
It so happens that I use Jeff Starr’s 7G Firewall* in the .htaccess file to protect my website. This works along with Cachify as long as I use “database” as the caching method. If I select “hard disk”, the website will only show “403 forbidden” to the visitor. Until the cache is cleared, but then immediately again. Using a SFTP program, you can see that Cachify does not create the /wp-content/cache/cachify folder at all.
* https://perishablepress.com/7g-firewall/
But what is interesting is the following: If you do NOT put the code snippet that Cachify wants you to put in the .htaccess file when using the disk method above, suddenly everything works fine despite 7G firewall. If you look at the page source, you can see that a cached web page is being delivered. And the whole thing is also gzip compressed if I add another block with “AddOutputFilterByType DEFLATE” rules in the .htaccess.
What do you think, is it really necessary in my case to put the Cachify code snippet in the .htaccess – it seems to work fine without that.
Thanks for your good work and best wishes!`
- The topic ‘Conflict with the 7G firewall by Jeff Starr’ is closed to new replies.