Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sdavids opened this issue Oct 16, 2023 · 0 comments
Open

Comments

@sdavids
Copy link

sdavids commented Oct 16, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant