Discussion: .htaccess directory
Afficher un message
Vieux 29/05/2007, 02h52   #1
Sneamia
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut .htaccess directory

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.

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