.htaccess protection of public folder


#1

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


#2

You’re probably better off asking this in an Apache forum.


#3

well… these are the standards for Apache… the problem is rather
with Rails deployment and Passenger I guess ?