Discussion: .htaccess directory
Afficher un message
Vieux 31/05/2007, 17h06   #2
shimmyshack
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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

  Réponse avec citation
 
Page generated in 0,05258 seconds with 9 queries