Main  /  Edit version 3  /  Edit version 4  /   /  Users Area

Difference "Web Server Configuration Troubleshooting" ver. 3 versus ver. 4

Content:

<!--toc-->
## Apache 2
### FastCGI: failed to connect to server
All seems to be perfectly configured, but the browser complains about an internal server error / misconfiguration. The apache error logs for the site have:
(13)Permission denied: FastCGI: failed to connect to server
FastCGI: incomplete headers (0 bytes) received from server
Solution: see [Common log file errors](http://www.electricmonk.nl/docs/apache_fastcgi_python/apache_fastcgi_python.html#_common_logfile_errors) :
Solution:
> FastCGI cannot connect to the application socket
> because it does not have the correct ownership
> or permissions.
> This usually happens in external mode,
> when the application you are trying to run creates the
> socket itself.
>
> Make sure you are running the application
> as the web server user and that the web server can read
> and write from and to the socket. Sometimes the socket
> will not be removed by Apache or your application, and it
> will have the wrong permissions. Your application can’t
> overwrite the socket with a correct one, and fails
> silently. Make sure to remove any socket files before
> starting Apache.
Run the fastcgi process and the Apache under same user and group or use TCP-IP sockets for communication.
See also: [Common log file errors](http://www.electricmonk.nl/docs/apache_fastcgi_python/apache_fastcgi_python.html#_common_logfile_errors) :
> The citation removed - due to copyright violation.

About

CppCMS is a web development framework for performance demanding applications.

Support This Project

SourceForge.net Logo

Поддержать проект

CppCMS needs You


Navigation

Main Page


Valid CSS | Valid XHTML 1.0