Yep, figures that you can sync 'em up either way, with the ports or
without. It just seems kinda buggy in that it breaks what was
previously working to allow the -potential- for ssl virtual hosts.
Seems like at least a simple change to documentation in the new
ports.conf file along the lines of the documentation below, saying
something like "Match all appropriate <VirtualHost *> entries to
VirtualHost *:80> to correspond with the NameVirtualHost *:80" would
make explicit the change as opposed to just introducing a new warning
without documenting the solution. :p
>From the NEWS.Debian documentation:
apache2 (2.2.9-3) unstable; urgency=low
* The directive "NameVirtualHost *" has been changed to "NameVirtualHost
*:80". It has also been moved from sites-available/default to ports.conf.
This allows to ship a proper SSL default virtual host config in
sites-available/default-ssl, but it means that if you use several name
based virtual hosts:
- you will have to change <VirtualHost *> to <VirtualHost *:80> in your
name based virtual hosts
- you need to add more NameVirtualHost directives if you use other ports
than 80 with name based virtual hosts. You may also have to add these
ports to the default virtual host in /etc/apache2/sites-available/default
(like this: "<VirtualHost *:80 *:81>").
If you prefer to revert to the old setup instead (and don't need the
default-ssl host), just change "NameVirtualHost *:80" back to
"NameVirtualHost *" in ports.conf and "<VirtualHost *:80>" to
"<VirtualHost *>" in sites-available/default.
* For mod_disk_cache, caching is again disabled in disk_cache.conf by
default. It usually makes more sense to enable this on a per-virtual host
basis.
-- Stefan Fritsch <[EMAIL PROTECTED]> Mon, 30 Jun 2008 19:47:52 +0200
--
[Intrepid Alpha 5 through Live release] NameVirtualHost entry in ports.conf
causes "NameVirtualHost *:80 has no VirtualHosts" warning and breaks
virtualhosts
https://bugs.launchpad.net/bugs/268868
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs