Apache mod_rewrite module is not enabled – using nginx
I found that this topic has been adressed before, and (sadly) it didn’t sound like you intend to support nginx. Nevertheless, nginx is still a lot faster and leaner than Apache, and for some time Plesk has offered an option to use only nginx, and dispense with Apache completely. I had been doing that even before Plesk offered it, using custom Plesk templates. I have also developped a lot of nginx configs (under Plesk) for various applications. So it seems like I’ve become an nginx fan.
As I was configuring Cerber now, I got the message above. Worse, the message does not come for suppressing PHP und “uploads” – Cerber just deposits a .htaccess at that location, without checking if Apache is in use. In my case, it’s still installed on the server, but has an empty configuration. I would view this as something which needs fixing, at least in the sense of giving user feedback that a Cerber feature does not work.
I have got used to the way iThemes Security handles this question: It writes out a file “nginx.conf” in the WP webroot, and my own nginx config file includes that one. Of course I could put most of those rules in my own config file, but some of them are not static, such as ones which block malicious IPs, or Hackrepairs list – I’m more than happy to leave it to iTS to keep such things current.
I had been hoping to replace iTS completely with WP Cerber (and Clearfy) – can you imagine writing out rules for nginx? If not, at least please check all rules which rely on Apache and warn the user if those features are not working – basically, I need to know what I have to do myself or with other plugins.
BTW the IP-blocking I plan to take care of with Cerber’s feature to feed Fail2ban, so that can be removed from “my” problem list 🙂
Another BTW: It did cross my mind to reverse-proxy to Apache for those sites using Cerber. But the problem here is, they are on a baremetal server with quite a few other sites, and my Plesk Custom Templates completely chop out all Apache configuration…
Last thing: I’m working for a client and I do believe he (Michael Räumelt) already has a Pro license (I asked them to get one), but I don’t have the details yet, which is why I’m posting here.
Another last thing: From what I’ve seen of Cerber up to now I’m already a fan, it’s only this one issue I have )-:
- The topic ‘Apache mod_rewrite module is not enabled – using nginx’ is closed to new replies.