httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: [users@httpd] Re: [graphviz-interest] Dot extremely slow when called from python cgi script
Date Tue, 19 May 2009 13:49:16 GMT
Eric Covener wrote:
>> However, I never received an answer about about how to get apache to see the
>> .fontconfig caches.
> 
> Apache doesn't care about them.  Maybe your CGI does, but setting up
> the execution environment for your CGI isn't really something OT here.
> 
I'll add something to the above :
When you run your script (any script) as a cgi program under Apache, it 
runs under the user-id under which Apache itself runs.
That user-id may, or may not, have the same environment as when you run 
the script from the command-line, under (presumbaly) your own user-id.
If the environment for your own user-id includes some environment 
variables which need to be set to indicate to the script where to find 
certain things (like maybe your .fonconfig cache file(s)), then you can 
set similar environment values via the Apache SetEnv directive, prior to 
running your cgi script.
Look it up here :
http://httpd.apache.org/docs/2.2/mod/mod_env.html#setenv

What we Apache guys do not know, is what exactly your script needs as an 
environment. That is off-topic here, and you must find this out in the 
appropriate command documentation, or on some related help forum.




---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message