-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
chore: refactor .htaccess to ease maintenance/future cleanup
#54550
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Josh <josh.t.richards@gmail.com>
.htaccess to ease maintenance/future cleanup
Signed-off-by: Josh <josh.t.richards@gmail.com>
| <IfModule mod_env.c> | ||
| SetEnv htaccessWorking true | ||
| </IfModule> | ||
| php_value mbstring.func_overload 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mbstring.func_overload was removed with php8
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#53578 ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merged, please rebase and fix conflicts here
AIO uses Apache under the hood so no manual changes should not be needed. See https://github.com/nextcloud/all-in-one/blob/main/Containers/apache/nextcloud.conf#L31 |
Summary
Despite the size this changes should be a no-op in terms of functionality. Just trying to ease future maintenance burden:
Added:
RewriteRulesinto dedicated sections for ease of maintenanceChanged:
Possible follow-ups:
XXXin the comments) were discovered while doing this refactorhtaccess.rewritebaseshould also be audited and possibly restructured in a similar manner:server/lib/private/Setup.php
Lines 573 to 595 in 93b97f4
TODO
Checklist