Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Can't password protect folders #241

Open
g47onik opened this issue Oct 15, 2015 · 2 comments
Open

Can't password protect folders #241

g47onik opened this issue Oct 15, 2015 · 2 comments

Comments

@g47onik
Copy link

g47onik commented Oct 15, 2015

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

@idleberg
Copy link
Owner

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>?

@melalj
Copy link

melalj commented Oct 18, 2015

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants