Re: Factorised code for adding a file in /etc/apache2/conf.d/ and restarting apache ?

2008-07-07 Thread Charles Plessy
Le Sun, Jul 06, 2008 at 11:05:27AM -0700, Russ Allbery a écrit : Stefan Fritsch [EMAIL PROTECTED] writes: On Saturday 05 July 2008, Charles Plessy wrote: - if yes add a link to a configuration file in /etc/apache2/conf.d You can add that file or the link unconditionally. That would

Re: Factorised code for adding a file in /etc/apache2/conf.d/ and restarting apache ?

2008-07-07 Thread Mike Hommey
On Mon, Jul 07, 2008 at 10:51:47PM +0900, Charles Plessy [EMAIL PROTECTED] wrote: Le Sun, Jul 06, 2008 at 11:05:27AM -0700, Russ Allbery a écrit : Stefan Fritsch [EMAIL PROTECTED] writes: On Saturday 05 July 2008, Charles Plessy wrote: - if yes add a link to a configuration file in

Re: Factorised code for adding a file in /etc/apache2/conf.d/ and restarting apache ?

2008-07-07 Thread Charles Plessy
Le Mon, Jul 07, 2008 at 04:05:54PM +0200, Mike Hommey a écrit : Why not have your package create its own apache instance, with its own config and its own port ? Probably because I have no clue on how doing this cleanly ;) But why not? An in that case, why not something lighter than Apache…

Re: Factorised code for adding a file in /etc/apache2/conf.d/ and restarting apache ?

2008-07-07 Thread Stefan Fritsch
On Sunday 06 July 2008, Russ Allbery wrote: Stefan Fritsch [EMAIL PROTECTED] writes: On Saturday 05 July 2008, Charles Plessy wrote: - if yes add a link to a configuration file in /etc/apache2/conf.d You can add that file or the link unconditionally. That would really upset me if I

Re: Factorised code for adding a file in /etc/apache2/conf.d/ and restarting apache ?

2008-07-06 Thread Charles Plessy
Le Sun, Jul 06, 2008 at 11:02:50AM +0200, Stefan Fritsch a écrit : On Saturday 05 July 2008, Charles Plessy wrote: - restart apache. A reload should be enough. Don't restart apache if it is not necessary (as it aborts active connections and may require the admin to enter ssl key

Factorised code for adding a file in /etc/apache2/conf.d/ and restarting apache ?

2008-07-04 Thread Charles Plessy
Dear Mentors and Apache maintainers, In the course of making a package (emboss-explorer) FHS-compliant, I moved its files from /var/www to /usr/share. I would like http://localhost/mypackage to work after package installation just as before when the package was installing its files in the default