it is true indeed and it does not make any difference when within double 
quotes. I even tried the most stupid scenerii with a backslash at the beginning 
to avoid interpretation of it as relative. Without success.

Except from that, which I am really hoping for a solution, i am wondering if 
there is a way in httpd.conf to specify local variables this time since I am 
using many times the paths and i would like to define it once at the beginning 
of the file and not to have to change it everywhere.

Tx a lot

---------- Initial Header -----------

>From      : <[EMAIL PROTECTED]>
To          : <users@httpd.apache.org>
Cc          : 
Date      : Tue, 28 Feb 2006 18:25:12 +0100
Subject : AW: [EMAIL PROTECTED] OS Env variables - TMP

I think Apache takes your %TEMP%/httpd.pid as an relative path

Is there a difference in the behaviour when you make it inside "
 PidFile "%temp%/apache.pid"

bye
Oliver
-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Di 28.02.2006 16:42
An: users
Betreff: RE: [EMAIL PROTECTED] OS Env variables - TMP
 
Tx for your answer. I actually tried this solution before with %tmp% window env 
variable, but did not work, nor with %systemroot". I tried to do that for the 
directive:
PidFile %temp%/apache.pid

Error message i get is:
"fopen: no such file or directory
Apache.exe: could not log pid to file /apache/%systemroot%/temp"

Major problem:
1. "/apache" is prepended which i do not want, therefore the full path is 
wrongly interpreted

If any answer to that, thanks to let me know.

Regards,
Sébastien

---------- Initial Header -----------

>From      : <[EMAIL PROTECTED]>
To          : <users@httpd.apache.org>
Cc          : 
Date      : Tue, 28 Feb 2006 14:09:12 +0100
Subject : RE: [EMAIL PROTECTED] OS Env variables - TMP


On attempt on Windows Systems 
 %SystemRoot%\temp

Greets 
Oliver


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Di 28.02.2006 11:29
An: users
Betreff: [EMAIL PROTECTED] OS Env variables - TMP
 
Hello,

In my attempt to ship Apache as a standlone server on a CD-ROM to run a 
Web-based application, I would need to access my OS environment variables from 
httpd.conf, since i would like to access TEMP directory on any computer (at 
least Windows-based computers). Any idea how to achieve that?
Thanks for your help

-------------- ALICE HAUT DEBIT : TRIPLE PLAY A 29,95 EUR/MOIS -------------- 
Découvrez vite ALICEBOX : avec le modem WIFI, profitez de l'ADSL, de la 
TELEPHONIE et en exclusivité de la TELEVISION ! 
Bénéficiez aussi de la hotline gratuite 24h/24 ! Soumis à conditions. Pour en 
profiter cliquez ici http://abonnement.aliceadsl.fr





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-------------- ALICE HAUT DEBIT : TRIPLE PLAY A 29,95 EUR/MOIS -------------- 
Découvrez vite ALICEBOX : avec le modem WIFI, profitez de l'ADSL, de la 
TELEPHONIE et en exclusivité de la TELEVISION ! 
Bénéficiez aussi de la hotline gratuite 24h/24 ! Soumis à conditions. Pour en 
profiter cliquez ici http://abonnement.aliceadsl.fr





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-------------- ALICE HAUT DEBIT : TRIPLE PLAY A 29,95 EUR/MOIS -------------- 
Découvrez vite ALICEBOX : avec le modem WIFI, profitez de l'ADSL, de la 
TELEPHONIE et en exclusivité de la TELEVISION ! 
Bénéficiez aussi de la hotline gratuite 24h/24 ! Soumis à conditions. Pour en 
profiter cliquez ici http://abonnement.aliceadsl.fr





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to