Setting up apache web server behind a router
Amedee Van Gasse (Ubuntu)
amedee-ubuntu at amedee.be
Tue Jun 9 14:00:04 UTC 2009
On Tue, June 9, 2009 14:42, Derek Broughton wrote:
> Amedee Van Gasse (Ubuntu) wrote:
>>> No, that is not true.
>>> The config files in sites-enabled are (or should be) symbolic links to
>>> config files in sites-available. Changes in sites-enabled are
>>> automatically also in sites-available, because the real file is
>>> If the files in sites-enabled are regular files, not symlinks, then
>>> the Apache configuration is not as it should be, according to
>>> best practices.
> I don't think that follows. Debian/Ubuntu distribute packages with files
> in .../sites-available and symlinks in .../sites-enabled (not just
> defaults - other webapp packages may add files to those directories).
> However, when I _personally_ create virtual hosts, I put them in
> enabled. I can think of no good reason - including "policy" - to go to
> the trouble of creating an additional symlink, except to make it easy to
> remove a virtual host without deleting the file (but you still have to
> delete the symlink, so nothing is really gained). --
Are you familiar with a2ensite/a2dissite, and similar for modules
I use those commands all the time.
More information about the ubuntu-users