FastCGI

mod_fastcgi

Troubleshooting

Debug

When experiencing difficulties, the first step is to increase the verbosity of the logs, by setting the LogLevel to 'debug' in your virtual host configuration file:

<VirtualHost *:80>
       LogLevel debug
</VirtualHost>

Then follow the logs:

tail -f /var/log/apache2/error.log

autoindex:error

Example log:

www-apache/mod_fcgid

Homepage: https://httpd.apache.org/mod_fcgid/
Description: A binary-compatible alternative to mod_fastcgi with better process management
https://packages.gentoo.org/packages/www-apache/mod_fcgid

http://linux.overshoot.tv/wiki/apache

Invalid command 'FastCgiServer', perhaps misspelled or defined by a module not included in the server configuration

When starting or reloading the apache server, you may get this error:

AH00526: Syntax error on line 4 of /etc/apache2/vhosts.d/cgi-site.conf:
Invalid command 'FastCGIConfig', perhaps misspelled or defined by a module not included in the server configuration

or:
AH00526: Syntax error on line 10 of /etc/apache2/vhosts.d/cgi-site.conf:
Invalid command 'FastCgiServer', perhaps misspelled or defined by a module not included in the server configuration

Cause:
FastCgiServer is defined by mod_fastcgi.

Syndicate content