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
Re: [users@httpd] OS Env variables - TMP
by William A. Rowe other posts by this author
Feb 28 2006 1:55PM messages near this date
RE: [users@httpd] OS Env variables - TMP | [users@httpd] Forbidden You don't have permission to access /site/ Error
Apache doesn't perform environment expansion from the core distribution.

Look at mod_macro, see if anyone's ported this to apache 2.x for your
purposes.  Portable syntax is '$SystemRoot' (or '$(SystemRoot)' - either
is sans ' tic marks in actual use.)

s_i@[...].fr wrote:
>  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 interpre
ted
>  
>  If any answer to that, thanks to let me know.
>  
>  Regards,
>  Sébastien
>  
>  ---------- Initial Header -----------
>  
>  From      : <Oliver.Schaudt@[...].de>
>  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 applicat
ion, 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: 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 
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: users-unsubscribe@[...].org
>     "   from the digest: users-digest-unsubscribe@[...].org
>  For additional commands, e-mail: users-help@[...].org
>  
>  
>  

---------------------------------------------------------------------
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
Thread:
s_i@tiscali.fr
Oliver Schaudt
s_i@tiscali.fr
William A. Rowe

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