delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/14/07:26:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <42D64B54.6000001@familiehaase.de>
Date: Thu, 14 Jul 2005 13:24:04 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
MIME-Version: 1.0
To: Cygwin List <cygwin AT cygwin DOT com>
CC: "Dr. Volker Zell" <Dr DOT Volker DOT Zell AT oracle DOT com>
Subject: Re: CGI problems whith latest apache2
References: <87pstlpslc DOT fsf AT vzell-de DOT de DOT oracle DOT com> <42D64762 DOT 7070607 AT familiehaase DOT de>
In-Reply-To: <42D64762.7070607@familiehaase.de>
X-IsSubscribed: yes

Gerrit P. Haase wrote:

> Servus Volker,
> 
>> Hi list
>>
>> I get Internal Server Error's when trying to run any CGI script with
>> latest apache2. Can anybody confirm this ?
> 
> 
> Basic cgi (test-cgi) scripts are working for me try this t.pl: [1].
> I have not tried to activate my mailing list adminstration interface,
> but I think it should work when setting up my alias domains
> correctly, at least the login page of the ml interface is displayed.
> 
> However I have the annoying problem that transmission stops after
> every 8k when running Apache2 on my NT4 server and connecting from
> remote, anyway running on W2K works fine.
> 
> [1]:

This works for me too:

#!/usr/bin/perl
##
##  printenv -- demo CGI program which just prints its environment
##

print "Content-type: text/plain\n\n";
foreach $var (sort(keys(%ENV))) {
     $val = $ENV{$var};
     $val =~ s|\n|\\n|g;
     $val =~ s|"|\\"|g;
     print "${var}=\"${val}\"\n";
}

# Gerrit



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019