Wrong vhost configuration

Perhaps there is a wrong declarattion within the virtualhosts.conf:

Current stuation with some occurances:
SetHandler "proxy:unix:/var/run/rh-php73-php-fpm/VHOST-php73.sock|fcgi://localhost/"
This declaration prevent the mode switch of my WordPress firewall (NinjaFirewall) from WAF to Full-F
WAF mode.

I replaced all occurrences of:
SetHandler “proxy:unix:/var/run/rh-php73-php-fpm/ec1117VHOST-php73.sock|fcgi://localhost/”

SetHandler “proxy:unix:/var/run/rh-php73-php-fpm/ec1117VHOST-php73.sock|fcgi://localhost”

The difference is that I removed the tailing ‘/’ in ‘fcgi://localhost’.
I just checked on a Debian installation, and there’s no trailing slash.

Now my problem is solved.
Sincerely, Marko

NinjaFirewall Review

1 Like

I withdraw the error message, because with this change other scripts inside the root directory can no longer be called. So this change is only a temporary workaround, which has to be undone after a successful problem solution.