Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-16556

Remove purposeless <Files "*"> from .htaccess

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 3.3.1, 3.2.10
    • 3.3.2-RC1
    • None
    • None
    • Apache 2.2, Apache 2.4

    Description

      As started to discuss here, wrapping access permissions into <Files "">* at best has zero effect and implies unnecessary code and parsing for the web server. At least it does not block access to files only, but still denies auto indexing and access to sub directories effectively as well. But removing this directive is still the cleaner and safer way to deny access to any kind of resource that is provided within the directory in question.

      To deny access to migration data, a single .htaccess file can be used. This reduces the effort for future changes and it is not required anymore to create new .htaccess files for every new migration directory.

      Additionally it may be corrected in the files comments that "Require" is part of "mod_authz_core", not "mod_authz_host".

      Attachments

        Activity

          People

            Marc Marc
            MichaIng MichaIng [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: