Wordfence WAF won’t run on a read-only system
-
I normally run all my WordPress installations as read-only, with no web ownership, so that neither WordPress nor the web server can write files, though it can still write to the DB. For the most part this is quite usable (e.g. I can still create posts, pages etc) and provides significant protection against many unknown vulns. However Wordfence isn’t happy to run this way, reporting “The Wordfence Web Application Firewall cannot run”. As far as I can see, all it’s actually complaining about is that it can’t write to the log file, which isn’t the same as not being able to run. So, I have two questions:
1. Can Wordfence be made to run correctly in such an environment?
2. Can the WAF log file be moved out of the web root to somewhere that I can allow it to write, but not be accessible via the web?
- The topic ‘Wordfence WAF won’t run on a read-only system’ is closed to new replies.