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

Auto-generate / verify .htaccess? #1

Open
garvinhicking opened this issue May 23, 2024 · 0 comments
Open

Auto-generate / verify .htaccess? #1

garvinhicking opened this issue May 23, 2024 · 0 comments

Comments

@garvinhicking
Copy link

Wow this looks very nice, and so lightweight! Looking forward to trying a core integration. Many thanks!

Now for the issue - I wonder if we could ease integration by auto-generating a .htaccess entry for all storages (or through an upgrade wizard task & CLI command or so)?

It's probably hard to detect whether nginx is used, to be able to emit a warning. Maybe something for the maintenance check backend module.

Also when a htaccess file already exists, editing the file may not be wanted. And single subdir htaccess files of course clutter configuration.

Well. Maybe at the least this issue could help to think about an "integrity" maintenance check that checks all storages whether the middleware listens to that directory? Without introducing DOS/information disclosure attacks of course, so probably gated with a backend login.

(Feel free to close/discard the issue when it has been addressed or discarded already, no worries)

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