apache - protect sub directories with a single .htaccess file but use different group for each subdir -
since there no directory directive in .htaccess files in apache config file wanted ask if there solution of using different authentication group on sub dir basis?
i found out possible exclude sub dir htaccess using env variables. see: exclude 1 folder in htaccess protected directory
i know put .htaccess in each sub dir overwrite parent one. found no solution make different settings subdirs in single .htaccess file.
take @ if supported since apache2.4 in combination request_uri so:
<if "%{request_uri} =~ /subdir1/">
Comments
Post a Comment