ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> httpd-users
httpd-users
AW: [users@httpd] OS Env variables - TMP
by Oliver Schaudt other posts by this author
Feb 28 2006 9:27AM messages near this date
[users@httpd] Re:AW: [users@httpd] OS Env variables - TMP | [users@httpd] directory index forbidden
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: s_i@[...].fr [mailto:s_i@[...].fr]
Gesendet: Di 28.02.2006 16:42
An: users
Betreff: RE: [users@httpd] OS Env variables - TMP
 
Tx for your answer. I actually tried this solution before with %tmp% window env variable, bu
t 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 interprete
d

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

Regards,
S�bastien

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

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


On attempt on Windows Systems 
 %SystemRoot%\temp

Greets 
Oliver


-----Urspr�ngliche Nachricht-----
Von: s_i@[...].fr [mailto:s_i@[...].fr]
Gesendet: Di 28.02.2006 11:29
An: users
Betreff: [users@httpd] OS Env variables - TMP
 
Hello,

In my attempt to ship Apache as a standlone server on a CD-ROM to run a Web-based applicatio
n, 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 a
chieve 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 e
xclusivit� 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: users-unsubscribe@[...].org
   "   from the digest: users-digest-unsubscribe@[...].org
For additional commands, e-mail: users-help@[...].org




-------------- 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 e
xclusivit� 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: users-unsubscribe@[...].org
   "   from the digest: users-digest-unsubscribe@[...].org
For additional commands, e-mail: users-help@httpd.apache.org
Attachments:
unknown1
unknown2


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved