I believe you need to put 2 newline characters between the content type
and the first tag= so
echo
echo
echo <HTML>
...
jason
----------
Jason Hirsch, ChemEng/Chemistry
Make it myself? But I'm a physical organic chemist!
Visit the Dorm Room Life may never
http://icdweb.cc.purdue.edu/~hirsch Give us another
[EMAIL PROTECTED] Chance to do right.
On Wed, 26 Jan 2000 [EMAIL PROTECTED] wrote:
>
>
> I recently installed the apache-ssl-1.3.6_1.35-3 rpm, set up both a secure web
> server and an insecure web server through the <VirtualHost> directive in the
> apache config file. When trying to access a cgi page, I get a 'premature end of
> headers' error in the errorlog when connecting through the secure server, but
> the script works fine through the insecure server (port 80). The script is just
> a simple test, and is as follows:
>
> #!/bin/bash
> echo 'Content-type: text/html'
> echo '<html>'
> echo '<h1>Test Succeeded!</h1>'
> echo '</html>
>
> I've played with the config file, changed the cert's, checked the apache docs,
> and looked all over for any help, but have been unsuccessful so far... Anyone
> seen this type of error before? I don't think it's a problem with apache, since
> the script works on port 80, and I know it's not a problem with the script.
>
> Not sure where else to check. Any info would be greatly appreciated.
>
> Thanks,
> Bruce
>
>
>
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.
>
>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.