Wes Gamble
2006-Apr-13 16:38 UTC
[Rails] What is the working directory for fastcgi procs w/Apache 2?
When running Apache and FastCGI with Rails, what determines the current working directory? Is there an easy way to discover which directory this is at runtime? WG -- Posted via http://www.ruby-forum.com/.
Wes Gamble
2006-Apr-13 16:44 UTC
[Rails] Re: What is the working directory for fastcgi procs w/Apache
The working directory appears to be "public". Wes Gamble wrote:> When running Apache and FastCGI with Rails, what determines the current > working directory? > > Is there an easy way to discover which directory this is at runtime? > > WG-- Posted via http://www.ruby-forum.com/.
Apparently Analagous Threads
- Setting CWD to be RAILS_ROOT for fastcgi/Apache
- Apache/fastcgi setup can''t find custom config/*.yml file!
- Wrap error_messages_for() call when no instance var present
- Using <%= text_field %> within partials is problematic
- Generic page element display initializer in a layout?