adagios
adagios copied to clipboard
Debian packaging does not configure apache correctly
Currently packaging puts the apache configuration in /etc/apache2/conf.d/adagios.conf. I believe the correct location would be /etc/apache2/conf-available.
We would then need a post installation script that enables the configuration on install.
See https://wiki.debian.org/Apache/PackagingFor24
I might be wrong...but I think the location in debian is - /etc/apache2/conf-enabled/ ?
It should go into /etc/apache2/conf-available, and then a symlink should be created for /etc/apache2/conf-enabled. I'm not sure on the suggested best practices for it, but that's how Debian/Ubuntu Apache is configured by default.
Best practice is placing configs to /etc/apache2/conf-available and enabling them with a2enconf in postinst script.