|
Home > Archive > Apache Server configuration support > May 2007 > .htaccess directory
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
.htaccess directory
|
|
| Sneamia 2007-05-29, 1:21 am |
| 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.
| |
| shimmyshack 2007-05-31, 1:24 pm |
| 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
|
|
|
|
|