[ic] SSL problem

Deryk Wenaus deryk@bluemandala.com
Mon, 12 Mar 2001 15:43:01 -0800


I have been trying to fix this problem for over 5 hours now. I have 
scoured the akopia website, manuals, and mailing list. But have found 
no answers.

Here is the problem, I am accessing the secure checkout using a 
different url than my main store and the browser returns "Internal 
Server Error"

The server log for the secure server reads "Premature end of script 
headers: /usr/local/apache/secure/secure-store/link.cgi"

I have tried so many different settings--too many to list--always 
with the same results.

I've tried making a symbolic link from the secure server to the store 
html directory, I've tried putting a copy of the link.cgi in the 
secure server folder, I've tried making a symbolic link directly for 
the link.cgi. I've tried different setting in interchange.cfg.

Here are some settings that may help in solving the problem:

Catalog   mystore /home/mystore/catalog /link.cgi /secure-store/link.cgi
(I don't fully understand what the last part of that directive does?)

Variable    SERVER_NAME     www.mystore.com
Variable    CGI_URL         /link.cgi
Variable    SECURE_SERVER   https://secure.anotherurl.com/symlink-to-mystore

The secure server and the catalog run on the same machine. The non 
secure store works great.

Everytime I try something I always get the Premature end of script 
headers error.

I would really appreciate any and all help.