On Thu, Feb 25, 2016 at 04:24:31PM +0000, Olivier Debr wrote:
> Symptoms:
> trying to access any cgi yields error 500 and lines as follows in
> /var/log/messages
> slowcgi[32405]: execve /cgi-bin/nagios/: Is a directory
>
> [...]
>
I have never used slowcgi but check below:
> lan_ip="em0"
> server "nagios.siderlog-ra.fr" {
> listen on $lan_ip port 80
> root "/nagios"
> directory index index.php
> location "*.php" {
> root "/nagios"
> fastcgi socket "/run/php-fpm.sock"
> }
> location "/cgi-bin/nagios/*.cgi" {
> root "/cgi-bin/nagios/*.cgi"
^^^^^^ seems wrong
man httpd.conf says it should be path, so i assume wildcard
is wrong.
> fastcgi socket "/run/slowcgi.sock"
> }
> }
j.