Re: apache2.2 / apache2.4 config

2014-07-17 Thread Brian May
On 17 July 2014 14:56, Paul Wise wrote: > Something like this for the postinst: > > if [ -x /usr/sbin/a2enconf ] ; then > a2enconf someconf-2.4 > else > ln -sf ../conf-available/someconf-2.2.conf > /etc/apache2/conf.d/someconf-2.2.conf > fi > Might be the best solution so far. If the user u

Re: apache2.2 / apache2.4 config

2014-07-16 Thread Paul Wise
On Thu, Jul 17, 2014 at 9:11 AM, Brian May wrote: > Anyone got any better ideas? Something like this for the configuration: /etc/apache2/conf-available/someconf-2.x.conf: # All the common config options here /etc/apache2/conf-available/someconf-2.2.conf: Allow from all Include /etc/apache2/conf

apache2.2 / apache2.4 config

2014-07-16 Thread Brian May
Hello, Just wondering if anyone here has given any thought into how to create Debian packages that automatically configure with apache2.2 packages in wheezy *and* apache2.4 packages in jessie? There seem to be two stumbling points: On apache2.2, configuration goes into /etc/apache2/conf.d/, on a