0

I created a password protected files using .htaccess and .htpasswd, but it doesnt show up when I goto the URL.

I have this in my htaccess:

#Protect multiple files
<FilesMatch "^(.*).csv$">
AuthName "Dialog prompt"                                                                                                                                                                                       
AuthType Basic
AuthUserFile /xxxxx/test                                                                                                                                              
#AuthUserFile ".htpasswd"                                                                                                                                                                                      
Require valid-user                                                                                                                                                                                             
</FilesMatch>       

enter image description here

Patoshi パトシ
  • 21,707
  • 5
  • 29
  • 47

0 Answers0