Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants