[jifty-devel] MySQL: Transparent reconnect

Jesse Vincent jesse at bestpractical.com
Wed Sep 6 02:03:32 EDT 2006



> This is Apache2 set up according to the docs in Jifty::Script::FastCGI.
> A quick look at /proc/<pid>/environ shows that the environment for Jifty
> is completely empty except for the single JIFTY_COMMAND=fastcgi from the
> -initial-env specification. I've added a second -initial-env parameter
> to set GATEWAY_INTERFACE=fastcgi, which seems to work well enough,
> though I'm not sure about the side effects.

From within your app's mason templates, try:

% use YAML
<%YAML::Dump(\%ENV)%>

Best,
Jesse


More information about the jifty-devel mailing list