Forum: Ruby on Rails .htaccess protection of public folder

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Kad K. (Guest)
on 2009-02-03 20:46
(Received via mailing list)
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

Jeff E. (Guest)
on 2009-02-03 22:16
(Received via mailing list)
You're probably better off asking this in an Apache forum.
Kad K. (Guest)
on 2009-02-04 00:30
(Received via mailing list)
well.. these are the standards for Apache...  the problem is rather
with Rails deployment  and Passenger  I guess ?
This topic is locked and can not be replied to.