Hello I have a rails site in a domain like http://domain.com/ which is in one folder the whole application and a blog (wordpress - php application in another folder) under http://blog.domain.com/. How can I do http://domain.com/blog/ shows up the php application? Thank you! -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi! Depending on how much power you have over your server, I would recommend "pound" for that. But it does a little more than only what you want. And it requires that you change your complete virtual server configuration. http://www.apsis.ch/pound/ Regards, Marian On Fri, Apr 2, 2010 at 1:59 PM, Yiannis <istoselidas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello > > I have a rails site in a domain like http://domain.com/ which is in > one folder the whole application and a blog (wordpress - php > application in another folder) under http://blog.domain.com/. > > How can I do http://domain.com/blog/ shows up the php application? > > Thank you!-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Fri, Apr 2, 2010 at 7:59 AM, Yiannis <istoselidas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello > > I have a rails site in a domain like http://domain.com/ which is in > one folder the whole application and a blog (wordpress - php > application in another folder) under http://blog.domain.com/. > > How can I do http://domain.com/blog/ shows up the php application?You could have rails redirect from domain.com/blog to blog.domain.com But it might be better to do this at the http server layer. For example if you are using apache as the front end, you could use mod_rewrite to route blog urls the the blog before the rails app ever sees them. -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Github: http://github.com/rubyredrick Twitter: @RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.