Re: Re: [graphviz-interest] Dot extremely slow when called from python cgi script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux