Yes, I read that. It's a trade-off and for now I would rather keep the high performance on for the virtual host. Not a big deal really, but was hoping for a non-rewrite solution (FilesMatch also doesn't look to work with PassengerHighPerformance).
Always good to check though. Thanks for your input. Cheers, Walter On Mon, Nov 22, 2010 at 9:30 PM, Frederick Cheung <[email protected]> wrote: > > > On Nov 22, 12:08 am, Walter McGinnis <[email protected]> > wrote: >> > At a very simple level something like >> >> > RewriteRule \.php$ - [F] >> >> > Would rewrite any request where the url ended in .php to 403s >> >> Tried it. I have Passenger in high performance mode and it looks to >> disable mod_rewrite. >> >> http://www.modrails.com/documentation/Users%20guide%20Apache.html#Pas... >> >> I may be out of luck if I want to keep that set to on. >> > > Well if you really do need it, the docs say that you can turn it on > for only certain paths, so you could just activate it for your most > highly trafficked pages and leave the remainder with mod_rewrite > enabled. > > Fred > >> Cheers, >> Walter > > -- > 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

