Your message dated Thu, 22 Feb 2007 15:03:33 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Closing the ticket
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libapache2-mod-fastcgi
Version: 2.4.2-8
Severity: important

I've been testing a simple shell-script CGI which outputs contents of a
file, after having had problems running wws (sympa's web interface) in
FastCGI.

It won't work at all (both with my CGI script or wws) : error_log looks
like this, reporting output of the CGI script several time :

[Wed Feb 21 22:54:22 2007] [warn] FastCGI: (dynamic) server 
"/usr/lib/cgi-bin/test.fcgi" started (pid 8389)
Content-type: text/html

<HTML>
<HEAD><TITLE>File Output: /usr/share/doc/libapache2-mod-fastcgi/README
</TITLE>
</HEAD>
<BODY bgcolor="#cccccc" text="#000000">
<HR SIZE=5>
<H1>File Output: /usr/share/doc/libapache2-mod-fastcgi/README </H1>
<HR SIZE=5>
<P>
<SMALL>
<PRE>
README for mod_fastcgi
~~~~~~~~~~~~~~~~~~~~~~

[SNIP]

</PRE>
</SMALL>
<P>
</BODY>
</HTML>
[Wed Feb 21 22:54:22 2007] [warn] FastCGI: (dynamic) server 
"/usr/lib/cgi-bin/test.fcgi" (pid 8389) terminated by calling exit with status 
'0'
Content-type: text/html

<HTML>

[SNIP]

</HTML>
[Wed Feb 21 22:54:27 2007] [warn] FastCGI: (dynamic) server 
"/usr/lib/cgi-bin/test.fcgi" restarted (pid 8395)
[Wed Feb 21 22:54:27 2007] [warn] FastCGI: (dynamic) server 
"/usr/lib/cgi-bin/test.fcgi" (pid 8395) terminated by calling exit with status 
'0'


For reference, my CGI script is the following :
/usr/lib/cgi-bin/test.fcgi :

#!/bin/sh

echo Content-type: text/html
echo ""

/bin/cat << EOM
<HTML>
<HEAD><TITLE>File Output: /usr/share/doc/libapache2-mod-fastcgi/README
</TITLE>
</HEAD>
<BODY bgcolor="#cccccc" text="#000000">
<HR SIZE=5>
<H1>File Output: /usr/share/doc/libapache2-mod-fastcgi/README </H1>
<HR SIZE=5>
<P>
<SMALL>
<PRE>
EOM

/bin/cat /usr/share/doc/libapache2-mod-fastcgi/README

/bin/cat << EOM
</PRE>
</SMALL>
<P>
</BODY>
</HTML>
EOM


I suspect some weird problem with apache2.2 and FastCGI in etch atm :(

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libapache2-mod-fastcgi depends on:
ii  apache2.2-common              2.2.3-3.3  Next generation, scalable, extenda

libapache2-mod-fastcgi recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
Sorry about bothering.
-- 
Olivier BERGER <[EMAIL PROTECTED]>
Ingénieur Recherche - Dept INF
INT Evry (http://www.int-evry.fr)
OpenPGP-Id: 1024D/6B829EEC



--- End Message ---

Reply via email to