I am running mongrel and put some php code in myapp/public, but for some reason they are being treated as html instead of being evaluated by the php interpreter. What do I need to do to get these files treated properly? -- Posted via http://www.ruby-forum.com/.
imho mongrel is an app server for rails, not a general-pupose-webserver. possibly you should ask this question to the mongrel list? 2006/8/15, Mike Kogan <mike@kogan.org>:> > I am running mongrel and put some php code in myapp/public, but for some > reason they are being treated as html instead of being evaluated by the > php interpreter. What do I need to do to get these files treated > properly? > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Michael Siebert <info@siebert-wd.de> www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060815/7802cddb/attachment-0001.html
On Tue, 2006-08-15 at 14:50 +0200, Mike Kogan wrote:> I am running mongrel and put some php code in myapp/public, but for some > reason they are being treated as html instead of being evaluated by the > php interpreter. What do I need to do to get these files treated > properly? >You have to run apache, but I''d contact the php folks about getting this to work. I don''t do much PHP these days. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?