Bug#489215: after upgrade, cannot access virtualhosts

View: New views
2 Messages — Rating Filter:   Alert me  

Bug#489215: after upgrade, cannot access virtualhosts

by Hideki Yamane (Debian-JP) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

>  I've updated apache2 package, added symlinks to /etc/apache2/sites-enabled
>  is gone... (and just say "It works!" with browser ;-)

 No, it's my fault. I saw other host, sorry.

 But a problem remains. I cannot saw all virtualhosts on my box
 without "It works!" (default) page.
 
 I've added "NameVirtualHost *" to /etc/sites-enabled/000-default
 and restart, apache says warning but shows contents on virtualhosts.

$ sudo /etc/init.d/apache2 restart
Restarting web server: apache2[Fri Jul 04 14:15:42 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Fri Jul 04 14:15:42 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Fri Jul 04 14:15:42 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
 ... waiting [Fri Jul 04 14:15:44 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Fri Jul 04 14:15:44 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Fri Jul 04 14:15:44 2008] [warn] NameVirtualHost *:80 has no VirtualHosts


 How do I deal with this?

--
Regards,

 Hideki Yamane     henrich @ debian.or.jp/iijmio-mail.jp



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#489215: after upgrade, cannot access virtualhosts

by Stefan Fritsch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday 04 July 2008, Hideki Yamane wrote:

> Hi,
>
> >  I've updated apache2 package, added symlinks to
> > /etc/apache2/sites-enabled is gone... (and just say "It works!"
> > with browser ;-)
>
>  No, it's my fault. I saw other host, sorry.
>
>  But a problem remains. I cannot saw all virtualhosts on my box
>  without "It works!" (default) page.
>
>  I've added "NameVirtualHost *" to /etc/sites-enabled/000-default
>  and restart, apache says warning but shows contents on
> virtualhosts.

You need to remove the "NameVirtualHost *:80"
from /etc/apache2/ports.conf, or change that to "NameVirtualHost *"
and remove the "NameVirtualHost *" you added to 000-default.

I will try to make that more clear in the NEWS.Debian in the next
upload.



--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...