I recently got a domain and I wish to host my RoR app on it. I’ve tested
it on my computer for the past month or so and it’s where I like it. I
Uploaded my sql data to the server’s db and the host supports RoR what
am I missing here. The one page I created shows but none of the links
are working correctly. Any hints?
Thanks,
Ryan
Ryan Edwards-Crewe wrote:
I recently got a domain and I wish to host my RoR app on it. I’ve tested
it on my computer for the past month or so and it’s where I like it. I
Uploaded my sql data to the server’s db and the host supports RoR what
am I missing here. The one page I created shows but none of the links
are working correctly. Any hints?
Thanks,
Ryan
Check with the hosting company. They may need to configure the web
server application to point to your web application. (Like configuring
the APache 2.X server to proxy to the rails mongrel server. Just a
thought.
Steve K. wrote:
Ryan Edwards-Crewe wrote:
I recently got a domain and I wish to host my RoR app on it. I’ve tested
it on my computer for the past month or so and it’s where I like it. I
Uploaded my sql data to the server’s db and the host supports RoR what
am I missing here. The one page I created shows but none of the links
are working correctly. Any hints?
Thanks,
Ryan
Check with the hosting company. They may need to configure the web
server application to point to your web application. (Like configuring
the APache 2.X server to proxy to the rails mongrel server. Just a
thought.
I used the webrick to test, but this is the first time I’m hearing about
proxying the mongrel server, I know the host has APache 2.x but I don’t
know about mongrel. I’m really new at this rails -> host things and
there aren’t any tutorials that I’ve found that could help me out.
I guess b/c each host is different…
although they have given me the directories where ruby is on the server,
I just have know idea what I’m supposed to put that information so my
app can use it.
Ryan.
Ryan Edwards-Crewe wrote:
I used the webrick to test, but this is the first time I’m hearing about
proxying the mongrel server, I know the host has APache 2.x but I don’t
know about mongrel. I’m really new at this rails → host things and
there aren’t any tutorials that I’ve found that could help me out.
I guess b/c each host is different…
although they have given me the directories where ruby is on the server,
I just have know idea what I’m supposed to put that information so my
app can use it.
I did the same thing. I have been using RadRails for the local
development environment. But for a mroe general demo I set up a
Windows/Apache/Mongrel version. It’s not meant as the final
destination…just somethign for showing others what’s capable. I doubt
you can use that for prod…Here are a couple of links that might help:
Using Apache/Mongrel and SSL
http://blog.innerewut.de/articles/2006/06/21/mongrel-and-rails-behind-apache-2-2-and-ssl
Mongrel at Rubyforge
http://mongrel.rubyforge.org/docs/apache.html
Those should point you in the right direction.
Explain a little more what happens (or doesn’t happen) when you click
on a link; it could be that you simply don’t have the public/ folder
symlinked into your webroot or something else simple.
Apache can run Rails over FastCGI or (egh…) CGI; there’s no need to
proxy to Mongrel if you don’t have to.
–Jeremy