adagios icon indicating copy to clipboard operation
adagios copied to clipboard

Debian packaging does not configure apache correctly

Open tomas-edwardsson opened this issue 11 years ago • 3 comments

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

tomas-edwardsson avatar Aug 25 '14 10:08 tomas-edwardsson

I might be wrong...but I think the location in debian is - /etc/apache2/conf-enabled/ ?

Rionoskae avatar Aug 27 '14 23:08 Rionoskae

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.

Nadiar avatar Aug 27 '14 23:08 Nadiar

Best practice is placing configs to /etc/apache2/conf-available and enabling them with a2enconf in postinst script.

giner avatar Sep 12 '14 06:09 giner