Using Lighttpd and FastCGI for Rails you can use Lighty's HTTP Authentication to "protect" an application. But the equivalent doesn't work with Apache 2. Putting the Apache authentication stuff in a <Directory>
block will protect all the styles and scripts but no the application itself. You need to use a <Location>
block for that.
<Location /*>
AuthType Basic
AuthName "Beta Testing"
AuthUserFile /path/to/htpasswd
Require valid-user
</Location>
Comments
No comments yet.
Leave a comment