Page MenuHomePhabricator

Clean up Apache remnant.conf and wikimedia.conf
Open, LowPublicFeature

Description

Both https://noc.wikimedia.org/conf/remnant.conf and https://noc.wikimedia.org/conf/wikimedia.conf could use love.

Off-hand:

  • either figure out (and document!) what the difference between the two files is or combine them;
  • figure out why chapter wikis can use a unified configuration but the private wikis currently don't;
  • kill silly UseMod directives for wikis that long post-date UseMod;
  • figure out why "us.wikimedia.org" is in wikimedia.conf;
  • use "\" with a newline for ServerAlias in wikimedia.conf for readability; and
  • figure out whether that goofy stats redirect is needed in wikimedia.conf.

Probably other items as well.

I'm not totally sure what the best way to go about deploying these changes is... I can see merit to doing this in small commits or in doing one large commit.


Version: wmf-deployment
Severity: enhancement
URL: https://git.wikimedia.org/tree/operations%2Fapache-config.git

Details

Reference
bz62093

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:06 AM
bzimport set Reference to bz62093.
bzimport added a subscriber: Unknown Object (MLST).

Most of the config is from copy, paste and amend...

I've got a mental to do list for a lot of these, just the process is stalled

As I removed the silly docroot based wiki detection, the private wikis can probably be easily collapsed into one.

I have a few patchsets outstanding from the last attempts where we broke wikimedia wikis. It'd be nice to get those completed and then look at doing more. A few other people have other cleanup related patches open in gerrit too

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM
Aklapper removed a subscriber: wikibugs-l-list.