MaxSteel
2006-Jan-21 22:29 UTC
[Instantrails-users] Now this should be an instant rails question...
I am now ready to put my site to the public (well private) users. Whenever I go to the url, the only thing that gets displayed is the "Coming Soon" page. I''ve figured it out that that''s the index.html in the /www dir. How do I get it to point to my cookbook site? this is probably something very simple that i''m overlooking.. and i wont be able to look deeper until monday, so i figured i''d send out a quick email and see if anyone can just point me in the right direction (so i don''t waste time). Thanks a bunch! Ryan
Curt Hibbs
2006-Jan-22 03:25 UTC
[Instantrails-users] Now this should be an instant rails question...
On 1/21/06, MaxSteel <maxsteel at gmail.com> wrote:> > I am now ready to put my site to the public (well private) users. > > Whenever I go to the url, the only thing that gets displayed is the > > "Coming Soon" page. > > I''ve figured it out that that''s the index.html in the /www dir. > > How do I get it to point to my cookbook site? > > this is probably something very simple that i''m overlooking.. and i > wont be able to look deeper until monday, so i figured i''d send out a > quick email and see if anyone can just point me in the right direction > (so i don''t waste time). >One way would be copy the index.html page that already exists to redirect from the base url of the cookbook app to the list-recipes page. You can find it here: InstantRails\rails_apps\cookbook\public\index.html Copy this to your \www directory and then modify the relative URLs it contains to full URLs. Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060121/bb681927/attachment.htm
David Morton
2006-Jan-22 04:36 UTC
[Instantrails-users] Now this should be an instant rails question...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 MaxSteel wrote:> I am now ready to put my site to the public (well private) users. > > Whenever I go to the url, the only thing that gets displayed is the > > "Coming Soon" page. > > I''ve figured it out that that''s the index.html in the /www dir. > > How do I get it to point to my cookbook site?Look at the typo app for help: remove the index.html page, and then in your config/routes.rb, add: # default map.index '''', :controller => ''articles'', :action => ''index'' but replace your own controller and action. I''d highly recommend buying the book, "Agile Web Development with Rails", it goes over this and several of your other questions. It''s worth its weight in gold. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD0wu1SIxC85HZHLMRAqW1AKCgZC3AYOVsTjLACAGab6l1K/LK7ACfSvwC /95F65vgkXNJZ8MgixmUSuk=4ALU -----END PGP SIGNATURE-----
MaxSteel
2006-Jan-22 08:48 UTC
[Instantrails-users] Now this should be an instant rails question...
see now this i tried, and that for sure didn''t work (i assumed it was this easy too) <a href="/recipe/list"> to <a href="http://my-ip/recipe/list"> and that still didn''t work.. On 1/21/06, Curt Hibbs <curt.hibbs at gmail.com> wrote:> On 1/21/06, MaxSteel <maxsteel at gmail.com> wrote: > > I am now ready to put my site to the public (well private) users. > > > > Whenever I go to the url, the only thing that gets displayed is the > > > > "Coming Soon" page. > > > > I''ve figured it out that that''s the index.html in the /www dir. > > > > How do I get it to point to my cookbook site? > > > > this is probably something very simple that i''m overlooking.. and i > > wont be able to look deeper until monday, so i figured i''d send out a > > quick email and see if anyone can just point me in the right direction > > (so i don''t waste time). > > > > One way would be copy the index.html page that already exists to redirect > from the base url of the cookbook app to the list-recipes page. You can find > it here: > > InstantRails\rails_apps\cookbook\public\index.html > > Copy this to your \www directory and then modify the relative URLs it > contains to full URLs. > > Curt > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >
MaxSteel
2006-Jan-22 08:57 UTC
[Instantrails-users] Now this should be an instant rails question...
now i get an index of / (whick looks like the contents of /www) i''ll have to check out that book for sure.. guess i thought that this part should have been the simpler one? On 1/21/06, David Morton <mortonda at dgrmm.net> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > MaxSteel wrote: > > I am now ready to put my site to the public (well private) users. > > > > Whenever I go to the url, the only thing that gets displayed is the > > > > "Coming Soon" page. > > > > I''ve figured it out that that''s the index.html in the /www dir. > > > > How do I get it to point to my cookbook site? > > Look at the typo app for help: remove the index.html page, and then in your > config/routes.rb, add: > > # default > map.index '''', :controller => ''articles'', :action => ''index'' > > but replace your own controller and action. > > I''d highly recommend buying the book, "Agile Web Development with Rails", it > goes over this and several of your other questions. It''s worth its weight in gold. > > - -- > David Morton > Maia Mailguard - http://www.maiamailguard.com > Morton Software Design and Consulting - http://www.dgrmm.net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFD0wu1SIxC85HZHLMRAqW1AKCgZC3AYOVsTjLACAGab6l1K/LK7ACfSvwC > /95F65vgkXNJZ8MgixmUSuk> =4ALU > -----END PGP SIGNATURE----- > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >
MaxSteel
2006-Jan-22 18:46 UTC
[Instantrails-users] Now this should be an instant rails question...
Thanks David.. I bought the ebook version, and figured out that I was missing an entry in the httpd.conf. silly me :) On 1/21/06, David Morton <mortonda at dgrmm.net> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > MaxSteel wrote: > > I am now ready to put my site to the public (well private) users. > > > > Whenever I go to the url, the only thing that gets displayed is the > > > > "Coming Soon" page. > > > > I''ve figured it out that that''s the index.html in the /www dir. > > > > How do I get it to point to my cookbook site? > > Look at the typo app for help: remove the index.html page, and then in your > config/routes.rb, add: > > # default > map.index '''', :controller => ''articles'', :action => ''index'' > > but replace your own controller and action. > > I''d highly recommend buying the book, "Agile Web Development with Rails", it > goes over this and several of your other questions. It''s worth its weight in gold. > > - -- > David Morton > Maia Mailguard - http://www.maiamailguard.com > Morton Software Design and Consulting - http://www.dgrmm.net > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFD0wu1SIxC85HZHLMRAqW1AKCgZC3AYOVsTjLACAGab6l1K/LK7ACfSvwC > /95F65vgkXNJZ8MgixmUSuk> =4ALU > -----END PGP SIGNATURE----- > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >