.htaccess directory

.htaccess directory

am 29.05.2007 02:52:48 von Sneamia

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


Allow From All


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.

Re: .htaccess directory

am 31.05.2007 17:06:31 von shimmyshack

On May 29, 1:52 am, Sneamia 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
>
>
> Allow From All
>

>
> 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