Actions
Bug #560
closed"bin-environment" cannot override current valu
Status:
Fixed
Priority:
Normal
Category:
mod_fastcgi
Target version:
-
ASK QUESTIONS IN Forums:
Description
Inside mod_fastcgi settings,
if a value already exists in enviroment, "bin-environment" will fail.
example setting is following.
fastcgi.server = ( "/dj.py" => ( "test1" => ("host" => "127.0.0.1", "port" => 1026, "bin-environment" => ( "DJANGO_SETTINGS_MODULE" => "dj.settings", "PYTHONPATH" => "/var/www" ), ) ) )
This setting will not properly insert correct PYTHONPATH into environment, because PYTHONPATH already exists.
unset PYTHONPATH /etc/init.d/lighttpd start
This will have the problem fix.
If this behavior is desired, a proper warning also should be given.
-- yejun
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
Use bin-copy-environment to exclude the previous var.
Updated by gstrauss almost 9 years ago
- Description updated (diff)
- Status changed from Wontfix to Fixed
- Target version set to 1.4.x
fixed a long time ago.
commit 6ce1dfb0d1e2be137d3f23ab1ac6f4aad9f182d3 Author: Stefan Bühler <stbuehler@web.de> Date: Thu Jul 31 20:45:36 2008 +0000 mod_{fast,s}cgi: overwrite environment variables (#1722) git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2265 152afb58-edef-0310-8abb-c4023f1b3aa9
Actions
Also available in: Atom