delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/10/06/19:57:38

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0BE673858414
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1633564657;
bh=Qors5HQ7jA9e5HVTKD5r1sccVS95lfk8/W1Ml55VbDo=;
h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=qk+g+46dDCKo0S4xHQ34reHcD5NGjwP7R37Wn6ztmRQ5Y3Vznzm/L7gCzxdVBIkPN
k5SE/gyLDHlgvCRWO0xhrHOak7kyCteQqOHF3IoVqbFM5XnqMZvsaNfYFzlXXT2Dd3
QV9VTdS0nRDSfHJAGwELprVBuXqO6w+C8g1RqLWQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 00E193858C39
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=mZBwBQzB1t5T8KE1+QN9tj51coMA1D0uiM4T7AoyX75eGy3Wgf/j0yh+ilmOuara5u0B/abaKZ77d521LbRfArOKiGWsDMcdlm2Hwttfrbstw+58w/MIweMQM2rev5UVRlVdX0qUKBVGWvf/aZg1SuAyjuh2DLPC10VzfqF8EBb0zMYZXnaC1mAK82DnykjeEtakq0tZYkqz1VspqOItSlHt+6aoLlOMJiz9Yhf+ksRgFsSJQS4FyVKxgzY5P2O9xey3Cn6t+HEMF3aD0/ZNgXljuMlaK7TV+FYSS8O1lIijWzvlWUViFdB+E03xSQboCZfy6vm+qXLbJDxNgika+A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=lLNTQMF/n7fKuN9rJncqWyjiPxpkSrppdi0rPMS+dDY=;
b=oaqyRPKzBOUojt0LUtWs+DNrWCDgyFmmOgRwVXgrA21yWoK0QfWbNEWdrQzyW3berGgWF9ciRq74sBlIt2ookPj8SP3qRylYKR5qzcLZgO16hLEQ5S8vjXxWArAcK5/l2M9ogUL+wAp23qmppsz3LbrkPYwbmLbJl9WYTzZN2xNJh+4wq9/IB0vfy0f89YzVYGayYIrDTL/BN6tjlVF/m9u1XxxkJrXkVgQ6FxF501j/IjJmjKYp8GJjAn657tsEa09DnrcsPDQkbH29igIimKhl+Aess3AygPwP7S1UBaavH8Q4Jb69zrR7Db4T2T+T+ETXkhL0XygHp0H1Fo7xRw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none;
dkim=none; arc=none
To: "gs-cygwin DOT com AT gluelogic DOT com" <gs-cygwin DOT com AT gluelogic DOT com>
Subject: Re: Lighttpd and Perl
Thread-Topic: Lighttpd and Perl
Thread-Index: AQHXteL38LDcZSrheUa4dNCxizReLau9GFcAgAmXjpc=
Date: Wed, 6 Oct 2021 23:56:53 +0000
Message-ID: <CH0PR14MB4930149DEF3B19EE121CF7B7FBB09@CH0PR14MB4930.namprd14.prod.outlook.com>
References: <CH0PR14MB493056E9F7B26A4F7DBA6FC0FBAA9 AT CH0PR14MB4930 DOT namprd14 DOT prod DOT outlook DOT com>
<YVYr5uUK11RHniT/@xps13>
In-Reply-To: <YVYr5uUK11RHniT/@xps13>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [ecNTQOqOaYMB4lh1ZJaRLVuqDVVrzr8D]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 1181b3fc-b458-4f3b-ce71-08d98924f8b1
x-ms-traffictypediagnostic: CH0PR14MB4897:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: g1WElJgBwcgkqwrWlHsHDMKmCbt7nSSu75AJkscUjnDgJguwC+wjMCjgMt2DHpxeDO3r1OMVo77ZmQYzApNUatadr1UfgzsG8pJSFqlNpptwO4OISu2PDg/C324ddwOj7lB5A4Qe1lssfIebq/dZrxqeYWKZevjSA3TFta8Xo0WLyl0Y2JIu8l3oFizSrfELpGeKcyHFS3W5Gy0H8KkvKCuyC5pMmZiZuLOXI81vCymcM4rzYAh01svsi1p/mmCye3+rGC3rc4+jtLyNpu5d+aRGcNAYQleleJqUiX/jWg9lEcVh8kOGVMTB1aErB/R4bbf/ECpTxNQv0QlCa+n4lAC/Bxx1ej3Z5hBnVfhTSAmxXL340LzpAh7g8V7znP8vXz6L9VxuJBJRf5qNHqRG6fi+/saiB552dBxzBXGDG+lJcZ5DLn9u0xK0VbhnP/8jz0fCbxpCVh3dPVTZvA4F5LSyjeR1vdPgCagZWbpZpS4=
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 3L4uYe+9s38o3s9IBUaYBvvNbaD5U7p0eZIk8DC7FH4iyQjLVp4VzmfYHmxpNOIYWFHJ9pUBZ2IrcDL3PZNxGgIgkfws5v8BLEupDmged1O8H9aB2iBVZgPjOyETiyDQ4U+tP6btJerak7uCmtHRuQ==
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-3174-20-msonline-outlook-32894.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CH0PR14MB4930.namprd14.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 1181b3fc-b458-4f3b-ce71-08d98924f8b1
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2021 23:56:53.3189 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR14MB4897
X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andy Romens via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Andy Romens <Romens DOT Andy AT hotmail DOT com>
Cc: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 196Nvb0A028438

Hi again,

Thanks for the pro tip. I am trying to register with the lighttpd forum, but the activation email has yet to make it to my inbox. Any tips?

Thanks,
-Andy

> On Sep 30, 2021, at 4:28 PM, gs-cygwin DOT com AT gluelogic DOT com wrote:
> 
> On Thu, Sep 30, 2021 at 10:07:24AM +0000, Andy Romens via Cygwin wrote:
>> Good morning all,
>> 
>> I am running into a bit of what appears a noob issue with lighttpd.
>> 
>> Short and sweet version is I am transitioning from Apache to lighttpd.
>> 
>> Gotten pretty far, except now I am having issues with parsing.
>> 
>> Our website will run a command in a browser like ‘server/cgi-bin/myscript.pl?prod,eventhist’ in the web browser. With Apache, it will split everything after the ‘?’ As variables, and return a nicely formatted html result page.
>> 
>> However, after switching to lighttpd, it’s not passing those variables anymore. When I run the script in Cygwin, it works just fine.
>> 
>> I’ve been banging my head on this problem for a few days now, so any assistance would be greatly appreciated.
> 
> I'd suggest starting at https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.lighttpd.net%2F%23Documentation&amp;data=04%7C01%7C%7C722d1ee7355143db178608d9845939b8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637686341017068026%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=hSrAta1EEh35EgYUBixhVNG%2FWc8jbg94uM3mwrq2gX4%3D&amp;reserved=0 and
> carefully reading through the link for "How to get help".  Then, you
> can post your improved questions in the lighttpd Support Forum,
> perhaps with more details about your script.
> 
> When running CGI scripts such as "myscript.pl", lighttpd creates a
> standard CGI environment [1], including environment variables such as
> QUERY_STRING, so the problem is likely in your Perl script, and likely
> a misunderstanding of standard CGI environment variables.
> 
> [1] The Common Gateway Interface (CGI) Version 1.1
>    https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fhtml%2Frfc3875&amp;data=04%7C01%7C%7C722d1ee7355143db178608d9845939b8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637686341017068026%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=TBkSGPSbVgIgwjXq7oya4gAKG1ufmm%2F6%2FJgk4bCW3Hc%3D&amp;reserved=0

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

- Raw text -


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