From owner-freebsd-hackers Mon Aug 31 13:18:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA22292 for freebsd-hackers-outgoing; Mon, 31 Aug 1998 13:18:49 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from redfish.go2net.com (redfish.go2net.com [207.178.55.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA22261 for ; Mon, 31 Aug 1998 13:18:43 -0700 (PDT) (envelope-from marcs@go2net.com) Received: from marcs by redfish.go2net.com with smtp (Exim 1.82 #2) id 0zDaMv-00062Q-00; Mon, 31 Aug 1998 13:16:05 -0700 Date: Mon, 31 Aug 1998 13:16:05 -0700 (PDT) From: Marc Slemko X-Sender: marcs@redfish To: Matthew Hagerty cc: hackers@FreeBSD.ORG Subject: Re: Environment of a process In-Reply-To: <3.0.3.32.19980831150336.007233bc@wolfepub.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 31 Aug 1998, Matthew Hagerty wrote: > Greetings, > > Where does a process get its environment if it is not executed from the > command line? I have a program that connects to a database and relies on > several ENV VARS to be set. Wherever it is executed from. If it is a web server, then consult your web server vendor to find out how that happens. With Apache, for example, there are directives in mod_env that you can use to explicitly set various environment variables. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message