openstreetmap / openstreetmap/mod_tile

merging per-server and per-virtualhost config is buggy

Open
#188 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
318
Forks
199
PR merge metrics
No merged PRs in 30d

Description

When you have some configuration options inside a <VirtualHost>...</VirtualHost> block in Apache, and some others outside (e.g. in a Debian-type "conf_enabled/tileserver.conf" file), then things break and mod_tile reverts to default settings for some things. This is likely due to an issue with create_tile_config and merge_tile_config which I need to debug further.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing create_tile_config and merge_tile_config, comparing configuration supplied inside VirtualHost blocks with options in conf_enabled/tileserver.conf. Confirm how the per-server and per-virtualhost values are combined, and consider the issue complete when both sources retain their intended settings instead of reverting to defaults; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, cpp
Domain
backend, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.