I would like to implement a .htaccess security setup like the one referenced here: http://www.0x000000.com/index.php?i=558&bin=1000101110 However, i am using mongrel and it bypasses .htaccess rules. Does anyone have any suggestions on how I might get Mongrel to adhere to an .htaccess document? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 17 Jun 2008, at 20:53, histrionics wrote:> > I would like to implement a .htaccess security setup like the one > referenced here: > http://www.0x000000.com/index.php?i=558&bin=1000101110 > > > However, i am using mongrel and it bypasses .htaccess rules. > > > Does anyone have any suggestions on how I might get Mongrel to adhere > to an .htaccess document?htaccess is an apache specific thing as far as I know, and on top of that mongrel doesn''t have a mod_rewrite. Given that most people sit mongrel behind apache or nginx you could do your filtering there. You could have an interesting time though when users report some pages not loading mysteriously Fred> > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Just like Frederick said the .htaccess (also know as "distributed configuration files") file has nothing to do with Mongrel and is a Apache only configuration file. This is the reason why people use apache infront of mongrel. For the added flexibility. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---