Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 14699 invoked from network); 1 Mar 2006 12:08:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Mar 2006 12:08:06 -0000 Received: (qmail 48196 invoked by uid 500); 1 Mar 2006 12:08:45 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 47787 invoked by uid 500); 1 Mar 2006 12:08:43 -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 47770 invoked by uid 99); 1 Mar 2006 12:08:43 -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 04:08:43 -0800 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,FROM_EXCESS_QP,SUBJECT_EXCESS_QP X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [213.36.80.105] (HELO mail.libertysurf.net) (213.36.80.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 04:08:42 -0800 Received: from aliceadsl.fr (192.168.10.39) by mail.libertysurf.net (7.1.026) id 43F3DDBC00038B26 for users@httpd.apache.org; Wed, 1 Mar 2006 13:08:20 +0100 Date: Wed, 1 Mar 2006 13:08:20 +0100 Message-Id: MIME-Version: 1.0 X-Sensitivity: 3 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable From: "=?iso-8859-1?Q?s=5Fi@tiscali.fr?=" To: "=?iso-8859-1?Q?users?=" X-XaM3-API-Version: 3.2 R18 (B34 pl1) X-type: 0 X-SenderIP: 193.239.220.249 X-Virus-Checked: Checked by ClamAV on apache.org Subject: =?iso-8859-1?Q?RE:_[users@httpd]_OS_Env_variables_-_TMP?= X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks a lot for that. I think I will go into this direction. i have down= loaded IndigoPerl along with Apache. Further to what you said about apach= ectl, it seems that this command does not exist under Windows, but we hav= e to use instead "apache -k". If I understand you well, apachectl allows = me to call the perl script and then start the server by invoking httpd.ex= e?=0D=0A=0D=0AThanks again=0D=0A=0D=0A---------- Initial Header ---------= --=0D=0A=0D=0AFrom : "Boyle Owen" =0D=0ATo = : =0D=0ACc : =0D=0ADate : Wed, = 1 Mar 2006 11:49:26 +0100=0D=0ASubject : RE: [users@httpd] OS Env variabl= es - TMP=0D=0A=0D=0A> -----Original Message-----=0D=0A> From: s_i@tiscali= .fr [mailto:s_i@tiscali.fr] =0D=0A> Sent: Dienstag, 28. Februar 2006 11:2= 9=0D=0A> To: users=0D=0A> Subject: [users@httpd] OS Env variables - TMP=0D= =0A=0D=0AI'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 opp= ortunity to define anything dynamically and as for logical constructs, fo= rget it... :-(=0D=0A=0D=0AThe solution a lot of people use is to write a = script (eg, Perl) to generate the config file and then call this script a= t the start of apachectl (eg, /path/to/config_script > /path/to/httpd.con= f). You then have the full power of your scripting language to import env= ironment variables, modify them, apply conditional clauses and you can us= e loops to cut down on repetition. =0D=0A=0D=0AIt'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...=0D=0A=0D=0ARgds,=0D=0AOwen Boyle=0D=0ADisclaim= er: Any disclaimer attached to this message may be ignored. =0D=0A=0D=0A>= =0D=0A> Hello,=0D=0A> =0D=0A> In my attempt to ship Apache as a standlon= e server on a =0D=0A> CD-ROM to run a Web-based application, I would need= to access =0D=0A> my OS environment variables from httpd.conf, since i w= ould =0D=0A> like to access TEMP directory on any computer (at least =0D=0A= > Windows-based computers). Any idea how to achieve that?=0D=0A> Thanks f= or your help=0D=0A> =0D=0A> -------------- ALICE HAUT DEBIT : TRIPLE PLAY= A 29,95 =0D=0A> EUR/MOIS -------------- =0D=0A> D=E9couvrez vite ALICEBO= X : avec le modem WIFI, profitez de =0D=0A> l'ADSL, de la TELEPHONIE et e= n exclusivit=E9 de la TELEVISION ! =0D=0A> B=E9n=E9ficiez aussi de la hot= line gratuite 24h/24 ! Soumis =E0 =0D=0A> conditions. Pour en profiter cl= iquez ici =0D=0A> http://abonnement.aliceadsl.fr=0D=0A> =0D=0A> =0D=0A> =0D= =0A> =0D=0A> =0D=0A> ----------------------------------------------------= -----------------=0D=0A> The official User-To-User support forum of the A= pache HTTP =0D=0A> Server Project.=0D=0A> See for more info.=0D=0A> To unsubscribe, e-mail: users-uns= ubscribe@httpd.apache.org=0D=0A> " from the digest: users-digest-uns= ubscribe@httpd.apache.org=0D=0A> For additional commands, e-mail: users-h= elp@httpd.apache.org=0D=0A> =0D=0A> =0D=0ADiese E-mail ist eine private u= nd pers=F6nliche Kommunikation. Sie hat keinen Bezug zur B=F6rsen- bzw. G= esch=E4ftst=E4tigkeit der SWX Gruppe. This e-mail is of a private and per= sonal 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.=0D=0A =0D=0A =0D= =0AThis message is for the named person's use only. It may contain confid= ential, proprietary or legally privileged information. No confidentiality= or privilege is waived or lost by any mistransmission. If you receive th= is message in error, please notify the sender urgently and then immediate= ly 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 thi= s message if you are not the intended recipient. The sender's company res= erves the right to monitor all e-mail communications through their networ= ks. Any views expressed in this message are those of the individual sende= r, except where the message states otherwise and the sender is authorised= to state them to be the views of the sender's company.=0D=0A=0D=0A------= ---------------------------------------------------------------=0D=0AThe = official User-To-User support forum of the Apache HTTP Server Project.=0D= =0ASee for more info.=0D=0AT= o unsubscribe, e-mail: users-unsubscribe@httpd.apache.org=0D=0A " fro= m the digest: users-digest-unsubscribe@httpd.apache.org=0D=0AFor addition= al commands, e-mail: users-help@httpd.apache.org=0D=0A=0D=0A=0A=0A-------= ------- ALICE HAUT DEBIT : TRIPLE PLAY A 29,95 EUR/MOIS -------------- =0A= D=E9couvrez vite ALICEBOX : avec le modem WIFI, profitez de l'ADSL, de la= TELEPHONIE et en exclusivit=E9 de la TELEVISION ! =0AB=E9n=E9ficiez auss= i de la hotline gratuite 24h/24 ! Soumis =E0 conditions. Pour en profiter= cliquez ici http://abonnement.aliceadsl.fr=0A=0A=0A --------------------------------------------------------------------- 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