Has anyone else encountered this problem? Railsplayground support are looking into it but don''t know how to fix it either just yet. Basically a directory sitting under public/ at public/my_things/ is accessible via http://www.mysite.com/my_things/ but not http://www.mysite.com/my_things (ie without the slash). it returns a 404. from railsplayground: "I could see that my_things is a folder under your public folder. Usually, if it were a Rails Controller, your Rails application would have taken care of the request. Since my_things is a normal folder, I thought it has something to do with the canonical names. I tried to turn off the canonical names in the apache configuration file. I even tried with setting up redirections in the .htaccess file. But I couldn''t see any difference. " -- 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 -~----------~----~----~----~------~----~------~--~---
On 2/25/07, Xia __ <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Has anyone else encountered this problem? Railsplayground support are > looking into it but don''t know how to fix it either just yet. > > Basically a directory sitting under public/ at public/my_things/ is > accessible via http://www.mysite.com/my_things/ but not > http://www.mysite.com/my_things (ie without the slash). it returns a > 404.GIYF: googling for "apache trailing slash" returns numerous hits on possible causes and solutions. J. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Jordan Krushen wrote:> On 2/25/07, Xia __ <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: > >> Has anyone else encountered this problem? Railsplayground support are >> looking into it but don''t know how to fix it either just yet. >> >> Basically a directory sitting under public/ at public/my_things/ is >> accessible via http://www.mysite.com/my_things/ but not >> http://www.mysite.com/my_things (ie without the slash). it returns a >> 404. > > GIYF: googling for "apache trailing slash" returns numerous hits on > possible causes and solutions. > > J.yeah haven''t been able to get any of that working, neither could web host. dirty html redirect has temporarily fixed the problem -- 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 -~----------~----~----~----~------~----~------~--~---