I'm trying to pwd protect only my home page with apache basic auth.
This seems to work on everything not just the hp
<LocationMatch "/">
AuthType Basic
AuthName "heelooo?"
AuthUserFile /var/path/.htpasswd
Require valid-user
</LocationMatch>
Changing the regex to ^/$
or ^$
makes it not authenticate anything. Any tips? (its running a mod_ruby rails app)