Closed
Bug 1357796
Opened 9 years ago
Closed 8 years ago
[tracker] disable .htaccess lookups on sites that aren't using them
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: Atoll, Unassigned)
Details
(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/4670])
Apache defaults to AllowOverride All, which means for every request, it has to deep-scan the filesystem for .htaccess files. Millions of times a day.
This is completely pointless for virtually all of our sites, as they mostly lack .htaccess files.
I advise a three-phase deployment to fix this safely:
1) Ensure that "AllowOverride All" (or equivalent) is present on all Webops-controlled Apache <VirtualHost> entries that have .htaccess files today.
2) Set "AllowOverride None" on all <VirtualHost> entries without an existing AllowOverride, verifying that the sites continue to work correctly
3) Set "AllowOverride None" in the default Apache config for each cluster hosting one of the sites altered above, so that we don't have to repeat 2) for every new site going forward.
With a possible tangent for Nubis:
4) Set "AllowOverride None" by default, requiring the <VirtualHost> to override it if needed.
Summary: disable .htaccess lookups on sites that aren't using them → [tracker] disable .htaccess lookups on sites that aren't using them
(For the purpose of this task, do not consider *.people-mozilla.org. While Webops often consults, it must continue supporting .htaccess and no change is desired by the People team re: this.)
This has attracted no interest since filed, closing.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•