Re: [Rails] Re: Newbie question about views folder

2010-05-23 Thread Rick DeNatale
On Sat, May 22, 2010 at 8:35 PM, FrankMurphy sabir.a.ibra...@gmail.com wrote: Okay, I got it to work on the domain root by editing /etc/apache2/ sites-available/default to point to the app's public directory. Is that the right way to go about it, or is that just a hack? If that's what I'm

[Rails] Re: Newbie question about views folder

2010-05-22 Thread Marnen Laibow-Koser
FrankMurphy wrote: Thanks everyone for your replies. Okay, so this is interesting. When I try deploying the app to the domain root, I can't see the Welcome aboard! page; instead, I see the index.html page that's in Apache's web root directory. Also, when I try http://server_addr/users, I

[Rails] Re: Newbie question about views folder

2010-05-22 Thread FrankMurphy
Okay, I got it to work on the domain root by editing /etc/apache2/ sites-available/default to point to the app's public directory. Is that the right way to go about it, or is that just a hack? If that's what I'm supposed to do, it seems odd that this step isn't mentioned in the mod_rails user

[Rails] Re: Newbie question about views folder

2010-05-21 Thread Frederick Cheung
On May 22, 2:45 am, FrankMurphy sabir.a.ibra...@gmail.com wrote: In my web root directory, 'demo_app' is a symbolic link to the application's public directory. I realize that there's nothing in my web root directory or the above VirtualHost specification that points to the 'users' resource,

Re: [Rails] Re: Newbie question about views folder

2010-05-21 Thread Bill Walton
Hi Fred, On Fri, May 21, 2010 at 9:47 PM, Frederick Cheung frederick.che...@gmail.com wrote: On May 22, 2:45 am, FrankMurphy sabir.a.ibra...@gmail.com wrote: Deploying an app to a sub uri (rather than to the root of your domain) I missed that. Excellent catch, as always. Best

[Rails] Re: Newbie question about views folder

2010-05-21 Thread FrankMurphy
Thanks everyone for your replies. Okay, so this is interesting. When I try deploying the app to the domain root, I can't see the Welcome aboard! page; instead, I see the index.html page that's in Apache's web root directory. Also, when I try http://server_addr/users, I see a directory listing of