A client of mine has godaddy.com as a web host. I insisted on using rails for dev, and the client agreed. Godaddy is absolutely horrible w/ their rails support and I have one remaining question. I''ve been able to deploy the app but they way they have hosting setup I must have the application below the root directory in some other directory www.ex.com/useless/ how can I have www.ex.com point to where i have the data. Currently godaddy doesn''t allow a symbolic link to be created at the root level, it must have a name. For example useless => real_rails_app_dir. Any ideas, thanks, Tom -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Tom Hartwell wrote:> A client of mine has godaddy.com as a web host. I insisted on using > rails for dev, and the client agreed. Godaddy is absolutely horrible w/ > their rails support and I have one remaining question. I''ve been able > to deploy the app but they way they have hosting setup I must have the > application below the root directory in some other directory > > www.ex.com/useless/ > > how can I have www.ex.com point to where i have the data. Currently > godaddy doesn''t allow a symbolic link to be created at the root level, > it must have a name. For example useless => real_rails_app_dir. > > Any ideas, thanks, > Tom >Hi Tom, did you try setting with base_url or mod_alias? http://wiki.rubyonrails.org/rails/pages/HowToSetTheBaseURLsOfYourRailsApps -- Bojan Mihelac Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com -> tools, scripts, tricks from our code lab: http://source.mihelac.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Here''s what I''ve discovered... I can use mod_rewrite so that when a browser hits: http://www.example.com there is a redirect to http://www.example.com/directory http://www.example.com/directory is actually a symlink to the rails public directory This works, but the url obviously not written as http://www.example.com Godaddy does not support ssh so I cannot create a symlink at / pointing to /rails-public-dir As far as I can tell from the tutorial you sent out, what I want to do is not possible with mod_rewrite (which has all of mod_alias'' functionality) Thanks for the link, though, it was a very thorough wiki article. Any other suggestions? Thanks, Tom Bojan Mihelac wrote:> Tom Hartwell wrote: >> it must have a name. For example useless => real_rails_app_dir. >> >> Any ideas, thanks, >> Tom >> > Hi Tom, > did you try setting with base_url or mod_alias? > > http://wiki.rubyonrails.org/rails/pages/HowToSetTheBaseURLsOfYourRailsApps > > -- > Bojan Mihelac > Informatika Mihelac, Bojan Mihelac s.p. | www.informatikamihelac.com > -> tools, scripts, tricks from our code lab: http://source.mihelac.org-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---