Re: .htaccess directory
On May 29, 1:52 am, Sneamia <james.q...@gmail.com> wrote:
> Hi, I'm trying to restrict access to a directory through a password on
> my server, but allow direct linking without authentication.
>
> As of now, I have the following snippets of code:
> AuthType Basic
> AuthName "Access for /backup"
> AuthUserFile /etc... /htpasswd
> require user whateverusername
>
> Options +Indexes +MultiViews +FollowSymlinks
>
> <Files *.mp3>
> Allow From All
> </Files>
>
> I don't know what to modify to allow direct access to the mp3 files
> without displaying the directory info, but I want the directory to be
> available to certain users.
add
Satisfy Any
|