my designer friend wants to use php for certain pages. i was planning to add those pages in the rails app public folder. would the php code be executed? t the php code is simply for some view functionality(no database interaction or calling other scripts). if so, do i need to configure anything in my rails app? if i am running on apache linux, is there some configuration in my app needed? other than making sure php is installed? thanks for any help! -- 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 -~----------~----~----~----~------~----~------~--~---
jemminger
2008-Jun-09 06:30 UTC
Re: noob here: can php files in rails public folder be ok?
On Jun 7, 9:29 pm, Koloa Poipu <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> my designer friend wants to use php for certain pages. i was planning to > add those pages in the rails app public folder. would the php code be > executed? t the php code is simply for some view functionality(no > database interaction or calling other scripts). if so, do i need to > configure anything in my rails app? > > if i am running on apache linux, is there some configuration in my app > needed? other than making sure php is installed? >Should probably work... might need to proxy_pass *.php$ if you''re proxying to a mongrel cluster --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---