On Sun, 17 Jun 2012 14:37:13 -0600,
Stuart McGraw <
smcg...@frii.com>, in
Assuming what you want can be done, you're probably not using the
right directive. I took a gander at setenv's man page, and this jumped
out at me:
http://httpd.apache.org/docs/2.2/mod/mod_env.html#setenv
The internal environment variables set by this directive are
set after most early request processing directives are run,
such as access control and URI-to-filename mapping. If the
environment variable you're setting is meant as input into
this early phase of processing such as the RewriteRule
directive, you should instead set the environment variable
with SetEnvIf.
I would guess that PATH is set early on.
http://httpd.apache.org/docs/2.2/mod/mod_setenvif.html
If that doesn't work, you may have to modify the path that apache
knows, perhaps in its start up script. That sounds rather ugly. Why
not just upgrade your /usr/bin/python to something more modern? you
can always install older versions in /opt/ or /usr/local.
--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.