I am trying to do something similar to the poster of Persistently create a new Apache VirtualHost alongside Foreman except that instead of a new vhost I would like to include some additional configuration in the “foreman” virtualhost.
I do not know the Puppet Apache module particularly well so I am struggling to come up w/ the right magic to accomplish this. If all else fails I guess I could just use a vhost for packages.example.com
or something but that seems a bit ham handed. We have the technologoy!
In particular:
Alias /mirror /var/www/html/mirror
<Directory /var/www/html/mirror>
<IfModule mod_passenger.c>
PassengerEnabled off
</IfModule>
AllowOverrideList RedirectMatch
</Dorectpry>
Background
I’m working on a workaround for The pulp/package cloud/gitlab mess that relies on serving static content. On my katello server seems like a sensible choice.
Regards,
-Alan