>a fairly edge case.
I don't know what survey was taken that leads you to that conclusion, I have a 
hard time believing that I'm the only one who hosts sites for third parties. 

I host websites for customers, each of whom have different preferences
for what they want in their domain. Several packages install their
config files in /etc/apache2/conf.d. When that happens, the installed
packages suddenly become a part of every site that is hosted on that
box. In some cases, that makes for very bad results.

Good example is drupal, which is an extremely popular CMS. It sets itself up in 
as /etc/apache2/conf.d/drupal.conf. The following is the contents:
[code]
Alias /drupal /usr/share/drupal5
Alias /drupal5 /usr/share/drupal5

<Directory /usr/share/drupal5/>
        Options +FollowSymLinks
        AllowOverride All
        order allow,deny
        allow from all
</Directory>
[/code]

If the configuration stays like that, every virtual host on the box will
end up with a drupal site, whether the customer knows it or not. Worse,
the first person to browse to http://myvirtualhostcustomer.com/drupal
will be able to set up the drupal site with themself as the
administrator.

Here's a partial list of other packages that install themselves in 
/etc/apache2/conf.d. (I'm sure there are more; these are the ones I know about. 
)
apt-cacher
dpkg-www 
dwww
gallery2
phpmyadmin
darcsweb
debian-edu-config
apache2-doc
fai-doc
knowledgeroot
lwat
sitesummary
slbackup-php
sympa

I think that writing the script to implement what I have suggested would
not be difficult. It would, however, require a consensus and adoption as
an extension to the Debian standard for Apache directory organization.

-- 
New a2enpkg / a2dispkg script should be written - Improve virtual host 
configuration
https://bugs.launchpad.net/bugs/122885
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to