Hi, Does anyone have the Mint stats package setup with their Rails application. I have uploaded Mint to the public folder, but when I try and request domain.com/mint/index.php the page is served as a download instead of being processed by mod_php. Im guessing this isn''t really a Mongrel problem but what I actually need to do is prevent Apache proxying certain requests to Mongrel. How do I do this? Many thanks.
On 3/25/07, Kris Leech <krisleech at interkonect.com> wrote:> > Hi, Does anyone have the Mint stats package setup with their Rails > application. I have uploaded Mint to the public folder, but when I try > and request domain.com/mint/index.php the page is served as a download > instead of being processed by mod_php. Im guessing this isn''t really a > Mongrel problem but what I actually need to do is prevent Apache > proxying certain requests to Mongrel. How do I do this? > > Many thanks.The apache docs have some nice info on this: http://mongrel.rubyforge.org/docs/apache.html Here are some basic proxypass rules you can add to tell the ProxyPass not to forward on requests to certain documents/requests: ProxyPass /images ! ProxyPass /stylesheets ! These directives would go in your VirtualHost config. Pat -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20070325/603ca4a2/attachment.html
Patrick Berry wrote:> > > On 3/25/07, *Kris Leech* <krisleech at interkonect.com > <mailto:krisleech at interkonect.com>> wrote: > > Hi, Does anyone have the Mint stats package setup with their Rails > application. I have uploaded Mint to the public folder, but when I try > and request domain.com/mint/index.php > <http://domain.com/mint/index.php> the page is served as a download > instead of being processed by mod_php. Im guessing this isn''t really a > Mongrel problem but what I actually need to do is prevent Apache > proxying certain requests to Mongrel. How do I do this? > > Many thanks. > > > > The apache docs have some nice info on this: > http://mongrel.rubyforge.org/docs/apache.html > > Here are some basic proxypass rules you can add to tell the ProxyPass > not to forward on requests to certain documents/requests: > > | > ProxyPass /images ! > ProxyPass /stylesheets ! | > > These directives would go in your VirtualHost config.Thanks, I set a proxypass for both the mint folder and php-fastcgi folder''s so they are not proxied. I do not have mint in my Rails public folder but in the Apache document root. It works!> > Pat > ------------------------------------------------------------------------ > > _______________________________________________ > Mongrel-users mailing list > Mongrel-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/mongrel-users