Access Security - directory & subdirectory

Alles, was den Apache betrifft, kann hier besprochen werden.

Access Security - directory & subdirectory

Postby sp89 » 22. September 2015 08:04

following folder structure:

Rootfolder "ROOT"
Subfolder "SUBROOT"

I would like to have an password question (.htaccess) to the ROOT directory, but to access the subdirectory there should be an extra .htaccess question

But i don´t want to have two security popup windows to enter the subroot directory

i hope someone can help me
greetings sp89
sp89
 
Posts: 1
Joined: 22. September 2015 07:53
Operating System: Windows 10 / MAC OS / Linux

Re: Access Security - directory & subdirectory

Postby Nobbie » 22. September 2015 09:09

There is a quite complex example for mod_authz_core on the Apache Documentation, maybe you will find there what you are looking for:

http://httpd.apache.org/docs/2.4/mod/mo ... _core.html

I think, a mix of RequireAll and RequireAny Container may work for you.
Nobbie
 
Posts: 8777
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 3 guests