You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rails will fail to load if the apache user lacks read permission to to
public/ or config/environment.rb.
When this happens the somewhat cryptic message:
"Passenger thinks that the Rails application's "public" directory is
"/www/path/public", but it doesn't seem to be valid."
Will be displayed. The documentation should note that the apache user needs
read access to these files or the message should be changed to something a
bit less cryptic.
Thanks for the report. Could you check whether the error message printed by the
latest development version (i.e. the one in the git repository) is more useful?
Also, I can't seem to reproduce this. What were your exact file permissions?
I had drwxr-s--- on everything previously when it was running under mongrel.
It's the lack of +x for the apache user on the directories public or config that
caused the problem.
The new message looks much better, it is not really much of an issue I just had to
check the source to figure out why that message was printed and that was annoying.
From salisan on April 12, 2008 13:11:20
Rails will fail to load if the apache user lacks read permission to to
public/ or config/environment.rb.
When this happens the somewhat cryptic message:
"Passenger thinks that the Rails application's "public" directory is
"/www/path/public", but it doesn't seem to be valid."
Will be displayed. The documentation should note that the apache user needs
read access to these files or the message should be changed to something a
bit less cryptic.
Original issue: http://code.google.com/p/phusion-passenger/issues/detail?id=8
The text was updated successfully, but these errors were encountered: