httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] escape characters confusion
Date Sun, 09 Mar 2003 23:49:27 GMT

On Sun, 9 Mar 2003, richard work wrote:
> #!/usr/bin/perl
>
> use Apache::SubProcess qw(system);
>
> print "Content-type: text/html\n";
> system "testXSLT -q -html -in ../html/richard/georgeski/XML/resorts.xml -xsl
> ../html/richard/georgeski/XML/SelectionPage.xsl";
>
> When this is run from the command line it produces correct HTML. When I call
> it from the web page I get the error
>
> "malformed header from script. Bad header=&lt;HTML&gt;:
> create_search_page.pl"

You need to print a blank line after the Content-Type line to mark the end
of the HTTP headers.

Joshua.

---------------------------------------------------------------------
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