Bootstrap-Listr icon indicating copy to clipboard operation
Bootstrap-Listr copied to clipboard

Can't password protect folders

Open g47onik opened this issue 10 years ago • 2 comments
trafficstars

.htaccess is not working with Listr, can u help?

g47onik avatar Oct 15 '15 17:10 g47onik

I take it you're talking about single folders inside __public, because otherwise you can simply edit the outer .htaccess file. Putting seperate .htaccess files in folders won't work, I suspect the redirection to cause that (maybe @melalj can help?)

Have you tried using <Directory> or <Location>?

idleberg avatar Oct 16 '15 06:10 idleberg

I think we can use HTTP headers to provide the authentification for some specific folders without using Apache/nginx rules. We can have a file "auth.php or json" that contains an array of directories to protect (to be able to protect also subdirectories).

melalj avatar Oct 18 '15 16:10 melalj