SSL and content-type
am 12.08.2006 05:25:27 von chris.kottaridisThis is a multi-part message in MIME format.
------_=_NextPart_001_01C6BDBE.F561892F
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
I am trying to switch to a secure server. Currently, when running an
unsecure server I call a php page, called download.php, and it prints
out two headers and then a comma separated list that it will drop into a
file that I can use a spreadsheet on. The code looks like this:
=20
header("Content-Type: text/comma-separated-values");
header("Content-Disposition: application;
filename=3DClassRoster.csv");
$class =3D $classid;
$tdata =3D tpl_class_roster('download');
$csv->show($tdata);
The header() routine adds the stirngs to the headers and the $csv-show()
has the two dimensional array displayed in a comma separated list
format. This works perfectly fine when I don't use a secure server and
access this using http:.
=20
When I switch to a secure server all the other pages work fine, but this
one the browser complains that it can't find or access the file.
now if I comment out the first header line:
=20
/*
header("Content-Type: text/comma-separated-values");
*/
header("Content-Disposition: application;
filename=3DClassRoster.csv");
$class =3D $classid;
$tdata =3D tpl_class_roster('download');
$csv->show($tdata);
Then I do get the two dimensional array to show up on the screen in the
comma seperated list format as plain text, it doesn't bring up the
spreadsheet.
=20
Is there something else I need to do, add another header or set some
httpd setting to allow the Content-Type header above to operate in the
same manner that it does when not running httpd in secure mode ?
=20
Is this some browser option that does not like the Content-Type header ?
=20
Any pointers would be appreciated.
=20
Thanks
=20
Chris Kottaridis
Customer Support Engineer
Wind River Systems
719-522-9786
Customer Support Users' Guide (CSUG) for our support processes at:
http://www.windriver.com/support/resources/csug.pdf
To create and update your TSRs online, visit our TSR Manager (login
required) at:
https://www.windriver.com/windsurf/tsrview/
Tech Tips, FAQs, Discussion Group, Proactive Alert and lot more at:
http://www.windriver.com/windsurf/tsrview/
=20
------_=_NextPart_001_01C6BDBE.F561892F
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
charset=3Dus-ascii">
trying to=20
switch to a secure server. Currently, when running an unsecure server I =
call a=20
php page, called download.php, and it prints out two headers and then a =
comma=20
separated list that it will drop into a file that I can use a =
spreadsheet on.=20
The code looks like this:
header("Content-Type:=20
text/comma-separated-values");
=20
header("Content-Disposition: application;=20
filename=3DClassRoster.csv");
$class =
=
$classid;
$tdata =
tpl_class_roster('download');
=20
$csv->show($tdata);
header() routine=20
adds the stirngs to the headers and the $csv-show() has the two =
dimensional=20
array displayed in a comma separated list format. This works =
perfectly fine=20
when I don't use a secure server and access this using=20
http:.
switch to a=20
secure server all the other pages work fine, but this one the browser =
complains=20
that it can't find or access the file.
I comment out=20
the first header line:
text/comma-separated-values");
=20
header("Content-Disposition: application;=20
filename=3DClassRoster.csv");
$class =
=
$classid;
$tdata =
tpl_class_roster('download');
=20
$csv->show($tdata);
do get the=20
two dimensional array to show up on the screen in the comma seperated =
list=20
format as plain text, it doesn't bring up the =
spreadsheet.
there something=20
else I need to do, add another header or set some httpd setting to allow =
the=20
Content-Type header above to operate in the same manner that it does =
when not=20
running httpd in secure mode ?
this some browser=20
option that does not like the Content-Type header ?
pointers would=20
be appreciated.
Kottaridis
Engineer
Systems
Customer Support Users' Guide (CSUG) for our =
support=20
processes at:
title=3Dhttp://www.windriver.com/support/resources/csug.pdf= 20
href=3D"http://www.windriver.com/support/resources/csug.pdf" >
title=3Dhttp://www.windriver.com/support/resources/csug.pdf face=3DArial =
size=3D2>http://www.windriver.com/support/resources/csug.pdf
R>
face=3DArial size=3D2>To create and update your TSRs online, visit our =
TSR Manager=20
(login required) at:
title=3Dhttps://www.windriver.com/windsurf/tsrview/=20
href=3D"https://www.windriver.com/windsurf/tsrview/">
title=3Dhttps://www.windriver.com/windsurf/tsrview/ face=3DArial=20
size=3D2>https://www.windriver.com/windsurf/tsrview/
face=3DArial size=3D2>Tech Tips, FAQs, Discussion Group, Proactive Alert =
and lot=20
more at:
href=3D"http://www.windriver.com/windsurf/tsrview/">
title=3Dhttp://www.windriver.com/windsurf/tsrview/ face=3DArial=20
size=3D2>http://www.windriver.com/windsurf/tsrview/
face=3D"Times New Roman" size=3D3>
------_=_NextPart_001_01C6BDBE.F561892F--
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org