Discussion:
RubySetEnv
Dennis Sutch
2007-05-06 00:50:32 UTC
Permalink
RubySetEnv doesn't seem to be working.

I have a hander with the following code:

ENV.sort.each do |variable|
request.write( "<li>#{variable[0]} = #{variable[1]}</li>" )
end

This displays all of the environment variables. When I add RubySetEnv
statements to the Apache configuration, no additional variables show up.
Any suggestions?

Thanks.
--
Dennis Sutch
***@sutch.com
Dennis Sutch
2007-05-06 01:22:17 UTC
Permalink
Responding to my own question: After much trial and error, I've finally
found request.setup_cgi_env. This cleaned up the environment variables and
added the ones needed from my Apache configuration.

I am still looking for a suggestions on why the "RubyRequire auto-reload"
directive is failing. Anyone have some experience with auto-reload?

- Dennis
Post by Dennis Sutch
RubySetEnv doesn't seem to be working.
ENV.sort.each do |variable|
request.write( "<li>#{variable[0]} = #{variable[1]}</li>" )
end
This displays all of the environment variables. When I add RubySetEnv
statements to the Apache configuration, no additional variables show up.
Any suggestions?
Thanks.
--
Dennis Sutch
--
Dennis Sutch
***@sutch.com
Loading...