Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: Referrer key missing form os.environ dictionary? Date: Wed, 25 Sep 2013 16:27:23 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 13 Message-ID: References: <5242f8bc$0$30000$c3e8da3$5496439d@news.astraweb.com> NNTP-Posting-Host: panix2.panix.com X-Trace: reader1.panix.com 1380126443 26707 166.84.1.2 (25 Sep 2013 16:27:23 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 25 Sep 2013 16:27:23 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:54751 In =?UTF-8?B?zp3Or866zr/Pgg==?= writes: > So you mean that even if i run it via shell this stement will also work > because it happens to be in the same enviroment with the HTTP server? No. Each process has its own environment. Your shell's environment knows nothing about the web server's environment. -- John Gordon A is for Amy, who fell down the stairs gordon@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies"