On Sunday 27 Mar 2005 05:25, Warren Gwartney wrote:
> Perhaps someone will understand what is happening here. I've been trying
> to configure perl and apache on a redhat8 server with virtual hosts. Perl
> works well on the system and is executing cgi-bin scripts as well, but the
> output HTML is not being rendered by the browser on my scripts. I know
> you're thinking, you're not sending the headers dummy! But please just
> take a look: http://www.realtordb.com/cgi-bin/hello2.pl . Most of the
> scripts I'm working with are tested and tried but I get the same text only
> output for all of them. Any ideas, suggestions, answers would be so
> greatly appreciated. Surely I'm not the only one out there who has had
> this problem.
>
> The script is your basic html output.
> #!/usr/local/bin/perl
> # hello.cgi - My first CGI program
> print "Content-Type: text/html\n\n";
> print "<html> <head>\n";
> print "<title>Hello, world!</title>";
> print "</head>\n";
> print "<body>\n";
> print "<h1>Hello, world!</h1>\n";
> print "</body> </html>\n";

Try:

Content-type

not:

Content-Type

-- 
Just getting into the best language ever...
Fancy a [EMAIL PROTECTED] or something 
on http://www.perl.me.uk Just ask!!!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to