tmda-cgi setup problem

"J. Maxwell" <[email protected]> Mon, 07 Mar 2011 15:52:18 -0800
Newsgroups gmane.mail.spam.tmda.user
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============3145559566944777395==
Content-Type: multipart/alternative;
	boundary="------------010403090003040108080102"

This is a multi-part message in MIME format.
--------------010403090003040108080102
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hello,

Compiled tmda-cgi 'system wide', and running tmda.cgi - Version 0.16.4
as
http://mydomain.com/cgi-bin/tmda.cgi
and
/etc/tmdarc w/ config data

Server responded ==>

[an error occurred while processing this directive] The server 
encountered an internal error and was unable to complete your request. 
[an error occurred while processing this directive] Error message:
malformed header from script. Bad header= File "tmda-cgi.py", line 76,: 
tmda.cgi [an error occurred while processing this directive]

Line 76 of of the tmda-cgi.py file states
#1900:> sed -n 76,76p tmda-cgi.py
import CgiUtil
#1901:>

Dependencies running:
tmda tmda-1.1.12
Python 2.7
Apache 2.2.17
Qmail LWQ - netqmail-1.06

O/S 7.2-RELEASE FreeBSD 7.2-RELEASE #0
Platform i386

 From Apache error log: ==>

mod_mime_magic: can't read `/usr/local/www/apache22/data/cgi-bin/tmda.cgi'

malformed header from script. Bad header=  File "tmda-cgi.py", line 76,: 
tmda.cgi

unable to include potential exec "include/top.html" in parsed file 
/usr/local/www/apache22/error/HTTP_INTERNAL_SERVER_ERROR.html.var

unable to include potential exec "include/spacer.html" in parsed file 
/usr/local/www/apache22/error/HTTP_INTERNAL_SERVER_ERROR.html.var

unable to include potential exec "include/bottom.html" in parsed file 
/usr/local/www/apache22/error/HTTP_INTERNAL_SERVER_ERROR.html.var

How can I correct this? could not find any cues in the archives for this 
particular line

Thanks!


--------------010403090003040108080102
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello,<br>
    <br>
    Compiled tmda-cgi 'system wide', and running tmda.cgi - Version
    0.16.4 <br>
    as<br>
    <a class="moz-txt-link-freetext" href="http://mydomain.com/cgi-bin/tmda.cgi">http://mydomain.com/cgi-bin/tmda.cgi</a><br>
    and<br>
    /etc/tmdarc w/ config data<br>
    <br>
    Server responded ==&gt;<br>
    <br>
    [an error occurred while processing this directive] The server
    encountered an internal error and was unable to complete your
    request. [an error occurred while processing this directive] Error
    message: <br>
    malformed header from script. Bad header= File "tmda-cgi.py", line
    76,: tmda.cgi [an error occurred while processing this directive]<br>
    <br>
    Line 76 of of the tmda-cgi.py file states<br>
    #1900:&gt; sed -n 76,76p tmda-cgi.py<br>
    import CgiUtil<br>
    #1901:&gt;<br>
    <br>
    Dependencies running:<br>
    tmda tmda-1.1.12<br>
    Python 2.7<br>
    Apache 2.2.17<br>
    Qmail LWQ - netqmail-1.06<br>
    <br>
    O/S 7.2-RELEASE FreeBSD 7.2-RELEASE #0<br>
    Platform i386<br>
    <br>
    From Apache error log: ==&gt;<br>
    <br>
    mod_mime_magic: can't read
    `/usr/local/www/apache22/data/cgi-bin/tmda.cgi'<br>
    <br>
    malformed header from script. Bad header=&nbsp; File "tmda-cgi.py", line
    76,: tmda.cgi<br>
    <br>
    unable to include potential exec "include/top.html" in parsed file
    /usr/local/www/apache22/error/HTTP_INTERNAL_SERVER_ERROR.html.var<br>
    <br>
    unable to include potential exec "include/spacer.html" in parsed
    file
    /usr/local/www/apache22/error/HTTP_INTERNAL_SERVER_ERROR.html.var<br>
    <br>
    unable to include potential exec "include/bottom.html" in parsed
    file
    /usr/local/www/apache22/error/HTTP_INTERNAL_SERVER_ERROR.html.var<br>
    <br>
    How can I correct this? could not find any cues in the archives for
    this particular line<br>
    <br>
    Thanks!<br>
    <br>
  </body>
</html>

--------------010403090003040108080102--


--===============3145559566944777395==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
--===============3145559566944777395==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tmda-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-users

--===============3145559566944777395==--