Skip to content

feat(webserver-config): registry-driven vhost / htaccess / nginx generator - #17

Merged
ralflang merged 6 commits into
FRAMEWORK_6_0from
feat/webserver-config
Jul 8, 2026
Merged

feat(webserver-config): registry-driven vhost / htaccess / nginx generator#17
ralflang merged 6 commits into
FRAMEWORK_6_0from
feat/webserver-config

Conversation

@ralflang

@ralflang ralflang commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

New hordectl webserver-config top-level subcommand that emits webserver configuration derived from a Horde registry. Three flavors: htaccess, apache-vhost, nginx. Every emitted file carries Prerequisites/Limitations headers and a tier-aware README explains how to reproduce.

Two-tier output layout: sites/*.conf is drop-in-ready for the distro's sweep directory (sites-available/, vhosts.d/, conf.d/); horde-includes/{apps,tls,local}/ is a support tree copied under Apache ServerRoot or nginx prefix (--apache-serverroot=, --nginx-prefix=). Absolute include paths keep the config portable across Debian/Ubuntu, SUSE and RHEL/Fedora.

Three input tiers: hordectl query registry on the current target (default), stdin YAML (--registry-in=- consumes query registry output verbatim), or vanilla-layout synthesis (--default-url=<url> + --root-bundle-path=<path> + optional --app-webroots=id|url,...). First available wins.

Provenance section of the generated README shows the exact reproducer for whichever tier ran.

CI

This PR amends the CI and replaces the hardcoded (and incomplete) vhost definition with one generated by hordectl itself. The CI now demonstrates a minimum functioning automated install of horde/base including database and admin API.

@ralflang
ralflang force-pushed the feat/webserver-config branch from f09a4d1 to 1492161 Compare July 8, 2026 17:13
@ralflang
ralflang requested a review from TDannhauer July 8, 2026 17:23
ralflang added 2 commits July 8, 2026 19:26
… vhost config

Use the new hordectl webserver-config command to create a webserver vhost config instead of a test fixture.
Smoke test generating the vhost config from live-registry and --default-url switch as an override. We want to use an absolute URL here.
@ralflang
ralflang force-pushed the feat/webserver-config branch from ae19bf2 to d1d62fb Compare July 8, 2026 17:28
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

Successfully merging this pull request may close these issues.

1 participant