If the url of the root of your rails app is www.domain.com then www.domain.com/filename.txt will look in the /public directory. Try accessing a file there from your browser to check this is working. Colin 2009/5/13 Sergio Ruiz <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>> > we are currently trying to allow one of our clients to access and edit > some html files on their site via adobe''s contribute. > > the files live in the public directory of the rails site, and it seems > like there is a problem with contribute connecting to the site. it > looks like contribute is attempting to find a direct http connection > to the file as in: > > http://www.domain.com/filename.txt > > it seems to want to find the file at the root of the site, but on a > rails site, the files lives at: > > site/public/filename.txt > > i can''t think of any other problem the connection might be having.. > > anyone have any ideas? > -- > 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?hl=en -~----------~----~----~----~------~----~------~--~---
unfortunately, none of the files are accessible by the browser.. since they all live outside the of the area served by apache.. the app is served via apache.. through a proxy.. -- Posted via http://www.ruby-forum.com/.
The rails project public folder must be accessible, that is where all the js, css files etc live 2009/5/13 Sergio Ruiz <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>> > unfortunately, none of the files are accessible by the browser.. since > they all live outside the of the area served by apache.. > > > the app is served via apache.. through a proxy.. > > -- > 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?hl=en -~----------~----~----~----~------~----~------~--~---
Colin Law wrote:> The rails project public folder must be accessible, that is where all > the > js, css files etc liveaccessible as in correct permissions? -- Posted via http://www.ruby-forum.com/.
Accessible to the browser via http at the root of the domain for fetching javascript css etc. Also the 404.html and 500.html error pages are normally there. Also robots.txt etc. Look in your rails project /public folder and you will see what I mean. All of this may have no relevance to adobe contribute however. Colin 2009/5/13 Sergio Ruiz <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>> > Colin Law wrote: > > The rails project public folder must be accessible, that is where all > > the > > js, css files etc live > > > accessible as in correct permissions? > -- > 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?hl=en -~----------~----~----~----~------~----~------~--~---