https://bz.apache.org/bugzilla/show_bug.cgi?id=59972

            Bug ID: 59972
           Summary: Allow parent .htaccess to override settings in childs
                    (subdirectories)
           Product: Apache httpd-2
           Version: 2.4.23
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Runtime Config
          Assignee: [email protected]
          Reporter: [email protected]

It would be nice, in some cases, to disallow child .htaccess to overwrite
settings in parent .htaccess file.

Simple solution is some directive like "AllowChildOverride None" in .htaccess
file, which stop processing of all .htaccess files in all subdirectories.


Motivation:

- performance - Apache find .htaccess files in every directory in full path to
the document, which is in many cases not necessary

- security - many use cases, i.e. users which can uploads files through some
(little bit dummy) web application and so...

- mod_rewrite - last but not least, bye bye "RewriteOptions inherit"


And last thing - <Directory> directive in .htaccess should help also.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to