i want to know how to have access some files in special directory which is need to be authenticate with apache web server this is my config file
<Directory /var/www/media>
Order deny,allow
AuthType Basic
AuthName "Restricted Files"
AuthUserFile htpasswd
Require user ABC
Options +Indexes
</Directory>
inside the media folder i have folder named temp and inside temp there are some pdf files i want to access them without entering password or access from url like this "www.example.com/media/temp/abc.pdf"