Skip to Content.
Sympa Menu

en - [sympa-users] fcgi trouble...

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Marco Gaiarin <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] fcgi trouble...
  • Date: Thu, 20 Oct 2005 12:26:42 +0200


I'm using sympa from some month, and now i wont to switch to fastcgi.

I'm using debian sarge.


I've installed libapache-mod-fastcgi and i've setup the file
/etc/apache/conf.d/sympa as:

# Apache configuration file for Sympa

<VirtualHost *:80>
ServerName liste.ac.concordia-pordenone.it
ServerAlias liste

ServerAdmin address@concealed

AddHandler cgi-script .fcgi .cgi .pl .sh
Alias /wwsicons /usr/share/sympa/icons
ScriptAlias /wws /usr/lib/cgi-bin/sympa/wwsympa.fcgi
DocumentRoot /var/www/liste

ErrorLog /var/log/apache/sympa-error.log
TransferLog /var/log/apache/sympa-access.log
</VirtualHost>

<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcg .fcgi .fpl

FastCgiServer /usr/lib/cgi-bin/sympa/wwsympa.fcgi -processes 2

<Location /wws>
SetHandler fastcgi-script
</Location>

</IfModule>


If i pint my browser to:

http://liste.ac.concordia-pordenone.it/wws/

there's some time to wait and then an error page display.

Sympa log say:

Oct 20 11:51:51 rita wwsympa[10439]: WWSympa started
Oct 20 11:51:52 rita wwsympa[10439]: [robot liste.ac.concordia-pordenone.it]
Cookie_domain(liste.ac.concordia-pordenone.it) does NOT match HTTP_HOST;
setting cookie_domain to
Oct 20 11:51:52 rita wwsympa[10439]: [robot liste.ac.concordia-pordenone.it]
do_home

specific apache log file (/var/log/apache/sympa-error.log) say:

[Thu Oct 20 11:52:46 2005] [error] [client 80.206.191.30] FastCGI: comm with
server "/usr/lib/cgi-bin/sympa/wwsympa.fcgi" aborted: idle timeout (30 sec)
[Thu Oct 20 11:52:46 2005] [error] [client 80.206.191.30] FastCGI: incomplete
headers (0 bytes) received from server "/usr/lib/cgi-bin/sympa/wwsympa.fcgi"

general apache log error (/var/log/apache/error.log) instead:

[Thu Oct 20 11:51:37 2005] [warn] FastCGI: server
"/usr/lib/cgi-bin/sympa/wwsympa.fcgi" started (pid 10427)
Cache-control: no-cache
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>

[...]


Yes, lists homepage are printed on error.log file!!!


What i'm doing wrong?

If i comment out <IfModule mod_fastcgi.c></IfModule> all work well, as
you can see...

--
dott. Marco Gaiarin GNUPG Key ID: 240A3D66
Associazione ``La Nostra Famiglia'' http://www.sv.lnf.it/
Polo FVG - Via della Bontà, 7 - 33078 - San Vito al Tagliamento (PN)
gaio(at)sv.lnf.it tel +39-0434-842711 fax +39-0434-842797

Grazie parlamento europeo!
http://punto-informatico.it/p.asp?i=53925&r=PI


  • [sympa-users] fcgi trouble..., Marco Gaiarin, 10/20/2005

Archive powered by MHonArc 2.6.19+.

Top of Page