Hi,

I'm trying to get rid of the message

[proxy_fcgi:error] ... AH01071: Got error 'Primary script unknown\n'

in error logs (LogLevel notice) when proxying to an php-fpm daemon and the requested php file doesn't exist.

php-fpm config in VirtualHost is

<FilesMatch "\.php$">
        SetHandler  "proxy:unix:/run/php-fpm/www.sock|fcgi://foobar/"
</FilesMatch>

When I set "ProxyErrorOverride on" the error in browser changes from "File not found." to "Not Found

The requested URL /bla.php was not found on this server."

In error.log is still get the "Primary script unknown" message. Is there a way to suppress this (without fiddling with LogLevel)??

thx
matthias


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to