From unknown Thu Mar 28 14:20:37 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#210: X2gobroker-wsgi variables ignored Reply-To: Anders Bruun Olsen , 210@bugs.x2go.org Resent-From: Anders Bruun Olsen Resent-To: x2go-dev@lists.berlios.de Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Wed, 15 May 2013 12:33:01 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: report 210 X-X2Go-PR-Package: x2gobroker X-X2Go-PR-Keywords: Received: via spool by submit@bugs.x2go.org id=B.136862043416367 (code B); Wed, 15 May 2013 12:33:01 +0000 Received: (at submit) by bugs.x2go.org; 15 May 2013 12:20:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=HTML_MESSAGE, RCVD_IN_DNSWL_MED,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from eu1sys200aog123.obsmtp.com (eu1sys200aog123.obsmtp.com [207.126.144.155]) by ymir (Postfix) with SMTP id 59C4A5DB1E for ; Wed, 15 May 2013 14:20:33 +0200 (CEST) Received: from mail-oa0-f49.google.com ([209.85.219.49]) (using TLSv1) by eu1sys200aob123.postini.com ([207.126.147.11]) with SMTP ID DSNKUZN9kVSCr7ZepIbe+CQsTg94PhyJ4LiB@postini.com; Wed, 15 May 2013 12:20:33 UTC Received: by mail-oa0-f49.google.com with SMTP id k14so2017625oag.8 for ; Wed, 15 May 2013 05:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dsl.dk; s=google; h=x-received:mime-version:x-received:date:message-id:subject:from:to :content-type; bh=X3tPhBomPtExMDLAAUcIoB7uplo6+qAXfjspQLkLWeU=; b=PUHpFv4SbERScyT4pNjNSgyfb8U1vWBS5I/Aq8N4UTny8hC1W+y+baFnNTVENr+gkO SaGZO7F3Waj7+H3S/GA3/8YyZQrUCBaf3KW45tp2q8ziNwvb7hqGDHF+wcl7ytMQyu1z Wed2N9NJYj5NmycoYd+nIj2diBgazyHcmB4k4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=X3tPhBomPtExMDLAAUcIoB7uplo6+qAXfjspQLkLWeU=; b=aw+DcdrlrTGhvq6FvIpmIBkPLVUO+aXuOM730G+cskwRfOFYaRY1nik1DfgAMEU6tA r2DDiQ8nGwl+kTK0rMILM43scsO+aaKq0jU0CDUVmymRxkbLaEwysGqPkhDTT1+2hlVH 6kf0Y2ey1MT0wvPSc/B5Mp1T9feaJ3pXzTvNuDqlpLTL+TyZ2zRVSL/sFdurR70znZY/ qVlZrAiTIIu7X9U8DcfDsYSDjdmYQcngYcuiVpMRg8PFIVNuxKRv+r+jge+5n/Y6RGwP y/hhVRhjmpZ2U6M3KBYkVxgNUzHB+3ASuXBNNL/Pq4ImUFdaZ55Kpc8Gq8XRfA423Omo ddfQ== X-Received: by 10.182.130.138 with SMTP id oe10mr16805711obb.90.1368620432075; Wed, 15 May 2013 05:20:32 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.130.138 with SMTP id oe10mr16805701obb.90.1368620431857; Wed, 15 May 2013 05:20:31 -0700 (PDT) Received: by 10.182.190.17 with HTTP; Wed, 15 May 2013 05:20:31 -0700 (PDT) Date: Wed, 15 May 2013 14:20:31 +0200 Message-ID: From: Anders Bruun Olsen To: submit@bugs.x2go.org Content-Type: multipart/alternative; boundary=089e0122fa1cac6e1404dcc0c668 X-Gm-Message-State: ALoCoQmuETqAmpVnODSMmvQ21RGQ7DR7dblMo3x5vMo4Mx9mZpT6dAXxv6kqyKbZDZz1wA0fM7CZ10W9XzQ+KNYl78p0T+VpidqGu8iV7bYbhqfiTN8PNEosozDfUXB5ECBZaJhMyAQIK+03/+5pcjdqiJXwkiso3w== --089e0122fa1cac6e1404dcc0c668 Content-Type: text/plain; charset=UTF-8 Package: x2gobroker Version: 0.0.2.0 and 0.0.2.1 (git master) I am trying to setup x2gobroker served via WSGI with the new x2gobroker-wsgi package. I have opted to setup a vhost that will serve only clients from my LAN and a different one for outside access. For this, I want to point them to different config-files (session profiles) and have discovered that none of the SetEnv statements in the Apache config files are being honored. According to http://stackoverflow.com/questions/9016504/apache-setenv-not-working-as-expected-with-mod-wsgiSetEnv does not result in variables being available in os.environ, but instead in the WSGI request's variable called environ. I can see that the code currently looks in os.environ, and as such, when running through WSGI, only default values are used. You could either look in both os.environ and the WSGI requests environ, or only look in the WSGI request and have code before that, which adds os.environs variables to the WSGI request. -- Anders Bruun Olsen It-ansvarlig Det Danske Sprog- og Litteraturselskab (Society for Danish Language and Literature) --089e0122fa1cac6e1404dcc0c668 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Package: x2gobroker
Version: 0.0.2.0 and 0.0.2.1 (git = master)

I am trying to setup x2gobroker serv= ed via WSGI with the new x2gobroker-wsgi package. I have opted to setup a v= host that will serve only clients from my LAN and a different one for outsi= de access. For this, I want to point them to different config-files (sessio= n profiles) and have discovered that none of the SetEnv statements in the A= pache config files are being honored. According to=C2=A0http://stackoverflow.com/questions/9016504/apache-setenv-not-w= orking-as-expected-with-mod-wsgi SetEnv does not result in variables be= ing available in os.environ, but instead in the WSGI request's variable= called environ. I can see that the code currently looks in os.environ, and= as such, when running through WSGI, only default values are used. You coul= d either look in both os.environ and the WSGI requests environ, or only loo= k in the WSGI request and have code before that, which adds os.environs var= iables to the WSGI request.

--
Anders Bruun Olsen
It-ansvarlig
Det Danske= Sprog- og Litteraturselskab
(Society for Danish Language and Literature= )
--089e0122fa1cac6e1404dcc0c668-- From unknown Thu Mar 28 14:20:37 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#210: X2Go issue (in src:x2gobroker) has been marked as pending for release Reply-To: Mike Gabriel , 210@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.berlios.de Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Sun, 19 May 2013 10:48:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 210 X-X2Go-PR-Package: x2gobroker X-X2Go-PR-Keywords: Received: via spool by 210-submit@bugs.x2go.org id=B210.136896005629348 (code B ref 210); Sun, 19 May 2013 10:48:02 +0000 Received: (at 210) by bugs.x2go.org; 19 May 2013 10:40:56 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RELAYS,URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: by ymir (Postfix, from userid 1005) id 3DD185DB26; Sun, 19 May 2013 12:40:40 +0200 (CEST) From: Mike Gabriel To: 210-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 210@bugs.x2go.org Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailer: http://snipr.com/post-receive-tag-pending Message-Id: <20130519104040.3DD185DB26@ymir> Date: Sun, 19 May 2013 12:40:40 +0200 (CEST) tag #210 pending fixed #210 0.0.2.1 thanks Hello, X2Go issue #210 (src:x2gobroker) reported by you has been fixed in X2Go Git. You can see the changelog below, and you can check the diff of the fix at: http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=a8dbd6b The issue will most likely be fixed in src:x2gobroker (0.0.2.1). light+love X2Go Git Admin (on behalf of the sender of this mail) --- commit a8dbd6b888cf3b9321ecd42086defc68532e774f Author: Mike Gabriel Date: Sun May 19 12:39:45 2013 +0200 Make X2GOBROKER_SESSIONPROFILES configurable through a SetEnv WSGI parameter in the httpd configuration. (Fixes: #210). diff --git a/debian/changelog b/debian/changelog index a78bfda..c9d5d8e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,8 @@ x2gobroker (0.0.2.1-0~x2go1) UNRELEASED; urgency=low backend name. - In WSGI mode: only populate os.environ with variables matching »X2GOBROKER_*«. + - Make X2GOBROKER_SESSIONPROFILES configurable through a SetEnv WSGI + parameter in the httpd configuration. (Fixes: #210). * Provide init scripts and *.default files outside of /debian folder (as they are also relevant for non-Debian packaging). From unknown Thu Mar 28 14:20:37 2024 X-Loop: owner@bugs.x2go.org Subject: Bug#210: X2Go issue (in src:x2gobroker) has been marked as closed Reply-To: Mike Gabriel , 210@bugs.x2go.org Resent-From: Mike Gabriel Resent-To: x2go-dev@lists.berlios.de Resent-CC: X2Go Developers X-Loop: owner@bugs.x2go.org Resent-Date: Sun, 19 May 2013 10:48:02 +0000 Resent-Message-ID: Resent-Sender: owner@bugs.x2go.org X-X2Go-PR-Message: followup 210 X-X2Go-PR-Package: x2gobroker X-X2Go-PR-Keywords: Received: via spool by 210-submit@bugs.x2go.org id=B210.136896026531077 (code B ref 210); Sun, 19 May 2013 10:48:02 +0000 Received: (at 210) by bugs.x2go.org; 19 May 2013 10:44:25 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RELAYS,URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: by ymir (Postfix, from userid 1005) id 8EFF35DB27; Sun, 19 May 2013 12:43:45 +0200 (CEST) From: Mike Gabriel To: 210-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 210@bugs.x2go.org Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Message-Id: <20130519104345.8EFF35DB27@ymir> Date: Sun, 19 May 2013 12:43:45 +0200 (CEST) close #210 thanks Hello, we are very hopeful that X2Go issue #210 reported by you has been resolved in the new release (0.0.2.1) of the X2Go source project »src:x2gobroker«. You can view the complete changelog entry of src:x2gobroker (0.0.2.1) below, and you can use the following link to view all the code changes between this and the last release of src:x2gobroker. http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=e7ba5f8e1a81d814f4d3e9f82ad6e9bc2855e7cd;hp=363a8fb21e215d403ef81c9bfc0d079d431bacce If you feel that the issue has not been resolved satisfyingly, feel free to reopen this bug report or submit a follow-up report with further observations described based on the new released version of src:x2gobroker. Thanks a lot for contributing to X2Go!!! light+love X2Go Git Admin (on behalf of the sender of this mail) --- X2Go Component: src:x2gobroker Version: 0.0.2.1 Status: RELEASE Date: Sun, 19 May 2013 12:41:06 +0200 Fixes: 201 210 211 Changes: x2gobroker (0.0.2.1) RELEASED; urgency=low . [ Mike Gabriel ] * New upstream version (0.0.2.1): - Remove trailing slashes from ManagementServer URLs. - In Apache2 vhost configuration example, move WSGI environment variable settings into VirtualHost setup. - Remove unused, not-yet-developed broker backends and frontends. - Remove old cruft from x2gobroker.conf. - Security fix for setuid wrapper x2gobroker-agent.c. Hard-code path to x2gobroker-agent.pl during build via defining a macro in the Makefile. Thanks to Richard Weinberger for spotting this!!! - Handle URLs in plain WebUI that have slashes (and subpaths) in the backend name. - In WSGI mode: only populate os.environ with variables matching »X2GOBROKER_*«. - Make X2GOBROKER_SESSIONPROFILES configurable via a SetEnv WSGI parameter in the httpd configuration possible. (Fixes: #210). * Provide init scripts and *.default files outside of /debian folder (as they are also relevant for non-Debian packaging). . [ Jan Engelhardt ] * New upstream version (0.0.2.1): - Populate install target of Makefile. (Fixes: #201). - Install man pages and default files through Makefile, as well. (Fixes: #211). From unknown Thu Mar 28 14:20:37 2024 MIME-Version: 1.0 X-Mailer: MIME-tools 5.502 (Entity 5.502) X-Loop: owner@bugs.x2go.org From: owner@bugs.x2go.org (X2Go Bug Tracking System) Subject: Bug#210 closed by Mike Gabriel (X2Go issue (in src:x2gobroker) has been marked as closed) Message-ID: References: <20130519104345.8EFF35DB27@ymir> X-X2go-PR-Keywords: pending X-X2go-PR-Message: they-closed 210 X-X2go-PR-Package: x2gobroker X-X2go-PR-Source: x2gobroker Date: Sun, 19 May 2013 10:48:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1368960484-695-0" This is a multi-part message in MIME format... ------------=_1368960484-695-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 This is an automatic notification regarding your Bug report which was filed against the x2gobroker package: #210: X2gobroker-wsgi variables ignored It has been closed by Mike Gabriel . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Mike Gabriel by replying to this email. --=20 X2Go Bug Tracking System Contact owner@bugs.x2go.org with problems ------------=_1368960484-695-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at control) by bugs.x2go.org; 19 May 2013 10:44:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RELAYS,URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: by ymir (Postfix, from userid 1005) id 8EFF35DB27; Sun, 19 May 2013 12:43:45 +0200 (CEST) From: Mike Gabriel To: 210-submitter@bugs.x2go.org Cc: control@bugs.x2go.org, 210@bugs.x2go.org Subject: X2Go issue (in src:x2gobroker) has been marked as closed Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Message-Id: <20130519104345.8EFF35DB27@ymir> Date: Sun, 19 May 2013 12:43:45 +0200 (CEST) close #210 thanks Hello, we are very hopeful that X2Go issue #210 reported by you has been resolved in the new release (0.0.2.1) of the X2Go source project »src:x2gobroker«. You can view the complete changelog entry of src:x2gobroker (0.0.2.1) below, and you can use the following link to view all the code changes between this and the last release of src:x2gobroker. http://code.x2go.org/gitweb?p=x2gobroker.git;a=commitdiff;h=e7ba5f8e1a81d814f4d3e9f82ad6e9bc2855e7cd;hp=363a8fb21e215d403ef81c9bfc0d079d431bacce If you feel that the issue has not been resolved satisfyingly, feel free to reopen this bug report or submit a follow-up report with further observations described based on the new released version of src:x2gobroker. Thanks a lot for contributing to X2Go!!! light+love X2Go Git Admin (on behalf of the sender of this mail) --- X2Go Component: src:x2gobroker Version: 0.0.2.1 Status: RELEASE Date: Sun, 19 May 2013 12:41:06 +0200 Fixes: 201 210 211 Changes: x2gobroker (0.0.2.1) RELEASED; urgency=low . [ Mike Gabriel ] * New upstream version (0.0.2.1): - Remove trailing slashes from ManagementServer URLs. - In Apache2 vhost configuration example, move WSGI environment variable settings into VirtualHost setup. - Remove unused, not-yet-developed broker backends and frontends. - Remove old cruft from x2gobroker.conf. - Security fix for setuid wrapper x2gobroker-agent.c. Hard-code path to x2gobroker-agent.pl during build via defining a macro in the Makefile. Thanks to Richard Weinberger for spotting this!!! - Handle URLs in plain WebUI that have slashes (and subpaths) in the backend name. - In WSGI mode: only populate os.environ with variables matching »X2GOBROKER_*«. - Make X2GOBROKER_SESSIONPROFILES configurable via a SetEnv WSGI parameter in the httpd configuration possible. (Fixes: #210). * Provide init scripts and *.default files outside of /debian folder (as they are also relevant for non-Debian packaging). . [ Jan Engelhardt ] * New upstream version (0.0.2.1): - Populate install target of Makefile. (Fixes: #201). - Install man pages and default files through Makefile, as well. (Fixes: #211). ------------=_1368960484-695-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by bugs.x2go.org; 15 May 2013 12:20:34 +0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on ymir.das-netzwerkteam.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=HTML_MESSAGE, RCVD_IN_DNSWL_MED,T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham version=3.3.2 Received: from eu1sys200aog123.obsmtp.com (eu1sys200aog123.obsmtp.com [207.126.144.155]) by ymir (Postfix) with SMTP id 59C4A5DB1E for ; Wed, 15 May 2013 14:20:33 +0200 (CEST) Received: from mail-oa0-f49.google.com ([209.85.219.49]) (using TLSv1) by eu1sys200aob123.postini.com ([207.126.147.11]) with SMTP ID DSNKUZN9kVSCr7ZepIbe+CQsTg94PhyJ4LiB@postini.com; Wed, 15 May 2013 12:20:33 UTC Received: by mail-oa0-f49.google.com with SMTP id k14so2017625oag.8 for ; Wed, 15 May 2013 05:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dsl.dk; s=google; h=x-received:mime-version:x-received:date:message-id:subject:from:to :content-type; bh=X3tPhBomPtExMDLAAUcIoB7uplo6+qAXfjspQLkLWeU=; b=PUHpFv4SbERScyT4pNjNSgyfb8U1vWBS5I/Aq8N4UTny8hC1W+y+baFnNTVENr+gkO SaGZO7F3Waj7+H3S/GA3/8YyZQrUCBaf3KW45tp2q8ziNwvb7hqGDHF+wcl7ytMQyu1z Wed2N9NJYj5NmycoYd+nIj2diBgazyHcmB4k4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=X3tPhBomPtExMDLAAUcIoB7uplo6+qAXfjspQLkLWeU=; b=aw+DcdrlrTGhvq6FvIpmIBkPLVUO+aXuOM730G+cskwRfOFYaRY1nik1DfgAMEU6tA r2DDiQ8nGwl+kTK0rMILM43scsO+aaKq0jU0CDUVmymRxkbLaEwysGqPkhDTT1+2hlVH 6kf0Y2ey1MT0wvPSc/B5Mp1T9feaJ3pXzTvNuDqlpLTL+TyZ2zRVSL/sFdurR70znZY/ qVlZrAiTIIu7X9U8DcfDsYSDjdmYQcngYcuiVpMRg8PFIVNuxKRv+r+jge+5n/Y6RGwP y/hhVRhjmpZ2U6M3KBYkVxgNUzHB+3ASuXBNNL/Pq4ImUFdaZ55Kpc8Gq8XRfA423Omo ddfQ== X-Received: by 10.182.130.138 with SMTP id oe10mr16805711obb.90.1368620432075; Wed, 15 May 2013 05:20:32 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.130.138 with SMTP id oe10mr16805701obb.90.1368620431857; Wed, 15 May 2013 05:20:31 -0700 (PDT) Received: by 10.182.190.17 with HTTP; Wed, 15 May 2013 05:20:31 -0700 (PDT) Date: Wed, 15 May 2013 14:20:31 +0200 Message-ID: Subject: X2gobroker-wsgi variables ignored From: Anders Bruun Olsen To: submit@bugs.x2go.org Content-Type: multipart/alternative; boundary=089e0122fa1cac6e1404dcc0c668 X-Gm-Message-State: ALoCoQmuETqAmpVnODSMmvQ21RGQ7DR7dblMo3x5vMo4Mx9mZpT6dAXxv6kqyKbZDZz1wA0fM7CZ10W9XzQ+KNYl78p0T+VpidqGu8iV7bYbhqfiTN8PNEosozDfUXB5ECBZaJhMyAQIK+03/+5pcjdqiJXwkiso3w== --089e0122fa1cac6e1404dcc0c668 Content-Type: text/plain; charset=UTF-8 Package: x2gobroker Version: 0.0.2.0 and 0.0.2.1 (git master) I am trying to setup x2gobroker served via WSGI with the new x2gobroker-wsgi package. I have opted to setup a vhost that will serve only clients from my LAN and a different one for outside access. For this, I want to point them to different config-files (session profiles) and have discovered that none of the SetEnv statements in the Apache config files are being honored. According to http://stackoverflow.com/questions/9016504/apache-setenv-not-working-as-expected-with-mod-wsgiSetEnv does not result in variables being available in os.environ, but instead in the WSGI request's variable called environ. I can see that the code currently looks in os.environ, and as such, when running through WSGI, only default values are used. You could either look in both os.environ and the WSGI requests environ, or only look in the WSGI request and have code before that, which adds os.environs variables to the WSGI request. -- Anders Bruun Olsen It-ansvarlig Det Danske Sprog- og Litteraturselskab (Society for Danish Language and Literature) --089e0122fa1cac6e1404dcc0c668 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Package: x2gobroker
Version: 0.0.2.0 and 0.0.2.1 (git = master)

I am trying to setup x2gobroker serv= ed via WSGI with the new x2gobroker-wsgi package. I have opted to setup a v= host that will serve only clients from my LAN and a different one for outsi= de access. For this, I want to point them to different config-files (sessio= n profiles) and have discovered that none of the SetEnv statements in the A= pache config files are being honored. According to=C2=A0http://stackoverflow.com/questions/9016504/apache-setenv-not-w= orking-as-expected-with-mod-wsgi SetEnv does not result in variables be= ing available in os.environ, but instead in the WSGI request's variable= called environ. I can see that the code currently looks in os.environ, and= as such, when running through WSGI, only default values are used. You coul= d either look in both os.environ and the WSGI requests environ, or only loo= k in the WSGI request and have code before that, which adds os.environs var= iables to the WSGI request.

--
Anders Bruun Olsen
It-ansvarlig
Det Danske= Sprog- og Litteraturselskab
(Society for Danish Language and Literature= )
--089e0122fa1cac6e1404dcc0c668-- ------------=_1368960484-695-0--