Skip to content

Deny Access to Hidden Files and Directories should handle .well-known #112

Description

@sdavids

https://github.com/phanan/htaccess#deny-access-to-hidden-files-and-directories

Instead of:

RedirectMatch 404 /\..*$

your example could be:

RedirectMatch 404 /\.(?!well-known\/)

Useful for:

A proposed standard which allows websites to define security policies.
https://securitytxt.org/

Private prefetch proxy in Chrome
https://developer.chrome.com/blog/private-prefetch-proxy/#traffic

Other uses:
https://www.iana.org/assignments/well-known-uris/well-known-uris.xhtml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions