[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#511594: default ports.conf should not contain NameVirtualHost directive



tags 511594 wontfix
thanks

On Monday 12 January 2009, Marvin Renich wrote:
> The NameVirtualHost directive is specifically tied to the
> <VirtualHost> directive and should be in the site-specific file
> (e.g. sites-available/default) not the default ports.conf.
>
> Currently, if you create your own site file that does not use the
> default NameVirtualHost from ports.conf, and you remove the symlink
> to default from sites-enabled, logrotate sends a daily email
> containing a warning.

No, the NameVirtualHost directive is a server wide directive and not 
tied to one specific virtual host. It is however tied to specific 
ports, therefore ports.conf is a good place for it.

If you don't want to use name based virtual hosts, comment it out.



Reply to: