cgi's unter Kunden nur mit ssl

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
snap
Posts: 11
Joined: 2003-10-25 17:48
Contact:

cgi's unter Kunden nur mit ssl

Post by snap »

Hi,

ich habe folgendes Problem:

- cgi-scripte laufen unter den Kunden (webxx/html/cgi-bin) nur mit SSL
- ohne bekommt man premature end of script headers
- das script läuft ohne ssl im cgi-bin des servers

confixx ist 3.1.2 server ist debian sarge

Was mache ich falsch? Ich hab schon viel gesucht, aber noch nichts passendes gefunden...

- CGIExec ist da
- suexec group stimmt mit file owner/group überein
- chmod ist ok (755, 705, 777)
- keine DOS CRLF drin
- Scriptalias is auch da

Hilfe!

Gruss
SNap
User avatar
Joe User
Project Manager
Project Manager
Posts: 11193
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:

Re: cgi's unter Kunden nur mit ssl

Post by Joe User »

Code: Select all

head -n 10 $script.cgi
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
snap
Posts: 11
Joined: 2003-10-25 17:48
Contact:

Re: cgi's unter Kunden nur mit ssl

Post by snap »

#!/usr/bin/perl
use strict;
use CGI::Carp qw(fatalsToBrowser);
my @Zahlen = (1463.45,2038.02,-12348.12,5671.12,-4939.48,-1124.09);
print "Content-type: text/htmlnn";
print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">', "n";
print "<html><head><title>Test</title></head><body>n";
print "<table border="1">n";
print "<tr><th>schwarze Zahlen</th><th style="color:red">rote Zahlen</th></tr>n";
foreach my $Zahl (@Zahlen) {
Post Reply