Setting up apache web server behind a router

Derek Broughton derek at pointerstop.ca
Tue Jun 9 12:42:08 UTC 2009


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 there.
>>
>> If the files in sites-enabled are regular files, not symlinks, then the
>> Apache configuration is not as it should be, according to Debian/Ubuntu
>> best practices.

I don't think that follows.  Debian/Ubuntu distribute packages with files in 
.../sites-available and symlinks in .../sites-enabled (not just Apache's 
defaults - other webapp packages may add files to those directories).  
However, when I _personally_ create virtual hosts, I put them in .../sites-
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).
-- 
derek






More information about the ubuntu-users mailing list