What pain. I am ready to switch hosts. I have this app in Dreamhost
where I load the static pages just fine. The location of my rails app
is /home/username/webaddress.com Under that resides the app/, public/
and so on. Like I said I can see my static pages that I have under
public since I have in the Managed host panel the following:
which gives me a file not found/400 error. I have already checked all
the files as far as permission (done a recursive chmod 755 on app/) and
the shebang. So about the only thing I can think of is that my
.htaccess is not correct. Here is the contents of my .htaccess:
I ran into the same issue few weeks ago. WEBrick was working just fine
but
not apache/fcgi.
By default, Dreamhost run your app in production mode whereas in WEBrick
you’re in development mode. I hadn’t set any production database so I
couldn’t work properly.
I ran into the same issue few weeks ago. WEBrick was working just fine
but
not apache/fcgi.
By default, Dreamhost run your app in production mode whereas in WEBrick
you’re in development mode. I hadn’t set any production database so I
couldn’t work properly.
Could be the same for you.
Franck
If I have the following in my environment.rb it should do it right?
ENV[‘RAILS_ENV’] ||= ‘production’
As far as the production.log everytime I try to access the app I get the
following(for some reason “customer” is truncated and only showing
“stomer”, do not know if this is right ):
Processing Base#index (for 66.249.72.242 at 2006-02-14 02:43:39) [GET]
Parameters: {}
Could anybody tell me if this is an issue with my htacccess or just my
html file?
This thing is a nightmare. Easy to develop, but damn I inding it harder
than deploying a j2ee app!
Guest wrote:
Yeah I followed the instructions on the WIKI, but no results.
Tom W. wrote: