. [EMAIL PROTECTED]
To : users@httpd.apache.org
Cc :
Date : Tue, 28 Feb 2006 15:52:52 -0600
Subject : Re: [EMAIL PROTECTED] OS Env variables - TMP
Apache doesn't perform environment expansion from the core distribution.
Look at mod_macro, see if anyone's ported this to apache 2
To use environment variable in httpd.conf:
${SERVERROOT}
This works for me. I am running apache 2 on linux fedora core 2.
Khai
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Reply-To: users@httpd.apache.org
To: users users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] OS Env variables - TMP
!!!
-- Initial Header ---
From : Khai Doan [EMAIL PROTECTED]
To : users@httpd.apache.org
Cc :
Date : Wed, 01 Mar 2006 02:13:36 -0800
Subject : Re: [EMAIL PROTECTED] OS Env variables - TMP
To use environment variable in httpd.conf:
${SERVERROOT
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Dienstag, 28. Februar 2006 11:29
To: users
Subject: [EMAIL PROTECTED] OS Env variables - TMP
I've been following your thread... Yours is the classic problem that arises
when you need to configure apache
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
@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
: 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
]
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