during staging devs, I want to protect the access to the site I wrote the folwoing into an .htaccess file in my public directory # Access control policy AuthType Basic AuthName "AelmatRepository" AuthUserFile /etc/apache2/dav_aelmat.passwd Require valid-user works fine... BUT there is no access to the css and images... !!! I belive I should add sometbing in my environment ? but what ? thanks for your help erwin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
You''re probably better off asking this in an Apache forum. On Feb 3, 1:46 pm, Erwin <yves_duf...-ee4meeAH724@public.gmane.org> wrote:> during staging devs, I want to protect the access to the site > > I wrote the folwoing into an .htaccess file in my public directory > > # Access control policy > AuthType Basic > AuthName "AelmatRepository" > AuthUserFile /etc/apache2/dav_aelmat.passwd > Require valid-user > > works fine... BUT there is no access to the css and images... !!! > > I belive I should add sometbing in my environment ? but what ? > > thanks for your help > > erwin--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
well.. these are the standards for Apache... the problem is rather with Rails deployment and Passenger I guess ? On 3 fév, 21:15, jemminger <jemmin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> You''re probably better off asking this in an Apache forum. > > On Feb 3, 1:46 pm, Erwin <yves_duf...-ee4meeAH724@public.gmane.org> wrote: > > > during staging devs, I want to protect the access to the site > > > I wrote the folwoing into an .htaccess file in my public directory > > > # Access control policy > > AuthType Basic > > AuthName "AelmatRepository" > > AuthUserFile /etc/apache2/dav_aelmat.passwd > > Require valid-user > > > works fine... BUT there is no access to the css and images... !!! > > > I belive I should add sometbing in my environment ? but what ? > > > thanks for your help > > > erwin--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---