httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <di...@webweaving.org>
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";
	$|=1;

and retry.

Dw.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message