Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 79397 invoked from network); 1 Mar 2006 10:49:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Mar 2006 10:49:12 -0000 Received: (qmail 36121 invoked by uid 500); 1 Mar 2006 10:49:50 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 36112 invoked by uid 500); 1 Mar 2006 10:49:49 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 36101 invoked by uid 99); 1 Mar 2006 10:49:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 02:49:49 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [146.109.240.235] (HELO ns0b.swx.com) (146.109.240.235) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 02:49:48 -0800 Received: from gate0b.unix.swx.ch (gate0b [192.168.252.145]) by ns0b.swx.com (8.13.4/8.13.4) with ESMTP id k21AnQwf027648 for ; Wed, 1 Mar 2006 11:49:26 +0100 (MET) Received: from CIWMEXZSA0E.ex.ordersx.org (localhost [127.0.0.1]) by gate0b.unix.swx.ch (8.13.4/8.13.4) with ESMTP id k21AnQFa000579 for ; Wed, 1 Mar 2006 11:49:26 +0100 (MET) Content-Class: urn:content-classes:message MIME-Version: 1.0 Importance: normal Priority: normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 Date: Wed, 1 Mar 2006 11:49:26 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [users@httpd] OS Env variables - TMP thread-index: AcY8UiId8/zSQMYiTWawgeEfLjMalQAyhv2w From: "Boyle Owen" To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: RE: [users@httpd] OS Env variables - TMP X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: s_i@tiscali.fr [mailto:s_i@tiscali.fr]=20 > Sent: Dienstag, 28. Februar 2006 11:29 > To: users > Subject: [users@httpd] OS Env variables - TMP I've been following your thread... Yours is the classic problem that = arises when you need to configure apache dynamically at run-time. As = you've probably realised by now, all apache does at the config stage is = to read in a long text string (ie, httpd.conf). There is very limited = opportunity to define anything dynamically and as for logical = constructs, forget it... :-( The solution a lot of people use is to write a script (eg, Perl) to = generate the config file and then call this script at the start of = apachectl (eg, /path/to/config_script > /path/to/httpd.conf). You then = have the full power of your scripting language to import environment = variables, modify them, apply conditional clauses and you can use loops = to cut down on repetition.=20 It's a bit of an effort to convert from a static to dynamic config = initially, but once it's working you'll never look back... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored.=20 >=20 > Hello, >=20 > In my attempt to ship Apache as a standlone server on a=20 > CD-ROM to run a Web-based application, I would need to access=20 > my OS environment variables from httpd.conf, since i would=20 > like to access TEMP directory on any computer (at least=20 > Windows-based computers). Any idea how to achieve that? > Thanks for your help >=20 > -------------- ALICE HAUT DEBIT : TRIPLE PLAY A 29,95=20 > EUR/MOIS --------------=20 > D=E9couvrez vite ALICEBOX : avec le modem WIFI, profitez de=20 > l'ADSL, de la TELEPHONIE et en exclusivit=E9 de la TELEVISION !=20 > B=E9n=E9ficiez aussi de la hotline gratuite 24h/24 ! Soumis =E0=20 > conditions. Pour en profiter cliquez ici=20 > http://abonnement.aliceadsl.fr >=20 >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP=20 > Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org >=20 >=20 Diese E-mail ist eine private und pers=F6nliche Kommunikation. Sie hat = keinen Bezug zur B=F6rsen- bzw. Gesch=E4ftst=E4tigkeit der SWX Gruppe. = This e-mail is of a private and personal nature. It is not related to = the exchange or business activities of the SWX Group. Le pr=E9sent = e-mail est un message priv=E9 et personnel, sans rapport avec = l'activit=E9 boursi=E8re du Groupe SWX. =20 =20 This message is for the named person's use only. It may contain = confidential, proprietary or legally privileged information. No = confidentiality or privilege is waived or lost by any mistransmission. = If you receive this message in error, please notify the sender urgently = and then immediately delete the message and any copies of it from your = system. Please also immediately destroy any hardcopies of the message. = You must not, directly or indirectly, use, disclose, distribute, print, = or copy any part of this message if you are not the intended recipient. = The sender's company reserves the right to monitor all e-mail = communications through their networks. Any views expressed in this = message are those of the individual sender, except where the message = states otherwise and the sender is authorised to state them to be the = views of the sender's company. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org