Hi,

  I'm having the same problem as the [EMAIL PROTECTED] poster:  the apache
error log says malformed header in script:

[Mon Jan  6 23:27:37 2003] [error] [client 192.168.1.100] malformed header
from
script. Bad header=<!DOCTYPE HTML PUBLIC "-//W3C/:
/home/subliminal.com/cgi-bin/
tmda/index.cgi

Note that /home/subliminal.com/... is not the external URL, but the internal
file path to the cgibin executable.  This web server is running virtual
domains and does not provide the traditional /~userid/index.html mappings to
the user home directories.

To answer your diagnostic questions:

>> Did you pull the CGI code out of the release or from CVS?

The CGI code is from the TMDA 0.67 release.

>> Does it show the login page correctly?

Yes.

>> Did you compile the CGI in single-user, system-wide, or no-su mode?

System-wide.  Ran the cgi/compile script while logged in as root.

>> What's in the config file for the user you tried to log in as?

/home/dthorpe/.tmda/config:
CONFIRM_ADDRESS = "[EMAIL PROTECTED]"
FULLNAME = "Danny Thorpe"
HOSTNAME = "subliminal.com"
USERNAME = "dthorpe"
MAIL_TRANSFER_AGENT = "sendmail"
DELIVERY = "/var/spool/mail/dthorpe"
RECIPIENT_DELIMITER = "+"
CONFIRM_APPEND = "/home/dthorpe/.tmda/whitelist"
BOUNCE_ENV_SENDER = "[EMAIL PROTECTED]"
TEMPLATE_DIR = "/home/dthorpe/.tmda"
CONFIRM_ACCEPT_NOTIFY = 0
CGI_ACTIVE = 1
CGI_URL = "http://www.subliminal.com/cgi-bin/tmda/index.cgi";

>> What is the file location of this config file?
/home/dthorpe/.tmda/config

There is no /etc/tmdarc global config on this system yet.

>> What are the owner & permissions on this file?

-rw-rw-r--    1 dthorpe  dthorpe       451 Jan  6 23:02 config
-rw-------    1 dthorpe  dthorpe        22 Jan  6 22:55 tmda-cgi

in the cgi-bin directory,
-rwsr-xr-x    1 root     sublimin    14212 Jan  6 22:45 index.cgi

// "sublimin" = "subliminal.com" group, admins for the virtual domain

Any ideas?

tmda is looking pretty slick.  Congrats!  I look forward to being able to
manage the pending queue by html as well.

Thanks,
-Danny Thorpe
[EMAIL PROTECTED]


"Gre7g Luterman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

On Tue, 17 Dec 2002 12:19:41 +0800 (PHT), "Concordio M. Pajayat, Jr."
<[EMAIL PROTECTED]> wrote:

> i would like to try tmda-cgi but i'm encountering error after logging in.
> here is what the apache error log say:
>
> [Tue Dec 17 12:16:13 2002] [error] [client xxx.xxx.xxx.xxx] malformed
> header from script. Bad header=<!DOCTYPE HTML PUBLIC "-//W3C/:
> /var/www/cgi-bin/tmda

Hrm!  That would indicate that the CGI did not send the obligitory

Content-type: text/html

line.  I do not, however, know why it wouldn't send that.

Did you pull the CGI code out of the release or from CVS?
Does it show the login page correctly?
Did you compile the CGI in single-user, system-wide, or no-su mode?
What's in the config file for the user you tried to log in as?
What is the file location of this config file?
What are the owner & permissions on this file?

Gre7g.
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users



_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to