httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <>
Subject Re: My first doubt
Date Thu, 15 Aug 2002 20:22:25 GMT

>    system "/usr/local/.../smbpasswd", '-a', $uidUser, $newpassword
> When this command is executed, the samba password is changed, but
> the APACHE return a Internal Server Error. And in the apache
> log_errors there is this line: "... malformed header from script.
> Bad header=..." .

Look at the FAQ; in short - you need to sent out a content-type. Put
at the top of your perl script:

	print "Content-type: text/plain\n\n";

and retry.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message