Problem with mod_fcgid and multidomain configuration.

Vincent Bolinard vinzstyle at gmail.com
Tue Jan 9 17:15:34 UTC 2007


Hello,

I'm getting trouble running mod_fcgid-1.09 with Apache-2.0.55_4 and
PHP-5.1.2 under FreeBSD 6.1-RELEASE.


mod_fcgid and PHP work fine if my info.php file is in
/usr/local/www/data-dist/ and the fast-cgi script in
/usr/local/www/cgi-bin-dist/ : I can see it in my web browser :-).

But I tried to copy the fast-cgi script in
/usr/local/www/domain.net/cgi-bin/ and the info.php file in
/usr/local/www/domain.net/data/, I updated httpd.conf with the new
pathes, but it does not work.

In the web browser : 500 - Internal Server Error.
In the error log file :

[Sat Jan 06 04:49:33 2007] [info] mod_fcgid: Read data error, fastcgi
server has close connection
[Sat Jan 06 04:49:33 2007] [error] [client 192.168.0.2] Premature end
of script headers: info.php

The permissions are the same, I just copied the directories and
removed the "-dist" suffix in their name.

What is the problem ?


Thank you.



More information about the freebsd-ports-bugs mailing list