Bug #245

NameVirtualHost has no VirtualHosts

Added by agostino scalera almost 2 years ago. Updated about 1 year ago.

Status:Closed Start date:05/27/2010
Priority:Low Due date:
Assignee:Martin Sefcik % Done:

100%

Category:- Spent time: 5.00 hours
Target version:6.1.6
Affected version: Operating System:
Resolution:Resolved Architecture:
Reproduceable:

Description

The directive NameVirtualHost is written in virtualhost.conf and in init.conf than cause a warn when starting/restarting Apache.

[Thu May 27 20:15:41 2010] [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
[Thu May 27 20:15:41 2010] [warn] NameVirtualHost xxx.xxx.xxx.xxx:443 has no VirtualHosts


Related issues

related to Kloxo - Bug #33: VirtualHost without ip Closed 09/15/2009
duplicated by Kloxo - Bug #380: Bind on CentOS, apache conf NameVirtualHost duplicates Closed 12/25/2010

Associated revisions

Revision b46ee7e0
Added by René Nieuwburg about 1 year ago

Bug #245 removed obsolete NameVirtualHost from virtualhost.conf (is already init.conf).

Revision 8c6773e6
Added by René Nieuwburg about 1 year ago

Merged r463 bug #245

History

Updated by Danny Terweij almost 2 years ago

  • Priority changed from Normal to Low
  • Target version set to 6.1.0

Altho it is just a warning (webserver just works fine) it has to be solved (less errors, less asking from users).

Updated by Martin Sefcik over 1 year ago

  • Assignee set to Martin Sefcik

It's happened, because the NameVirtualHost directives for port 80 and for port 443 are defined twice in apache config files.
in /etc/httpd/conf/kloxo/init.conf and in /etc/httpd/conf/kloxo/virtualhost.conf

Updated by Martin Sefcik over 1 year ago

  • % Done changed from 0 to 50

Updated by Danny Terweij over 1 year ago

  • Target version changed from 6.1.0 to 6.1.1

Moved to next version.

Updated by Danny Terweij over 1 year ago

  • Target version deleted (6.1.1)

Updated by Martin Sefcik about 1 year ago

  • Target version set to 6.1.5

Updated by Danny Terweij about 1 year ago

btw, its not a bug to me. Because i have this also with a cPanel server.
It is just a warning, and the system is just working fine with or without that warning.
I bet that there are thousands of apache webservers showing that. (Even at my home server with no CP installed).

A bug is something in the code that affects everyone and is causing problems. This could be changed to Feature or something else that fit.

Updated by René Nieuwburg about 1 year ago

  • % Done changed from 50 to 90

r417 fixes this bug. Yes, I consider this a bug, because it causes confusion with the user and it is an imperfection in the Apache configuration. We don't want forum and issue "noise" over a warning, do we?

Whoever can, please apply r417 and r418 to the 6.1.5 branch.

Updated by René Nieuwburg about 1 year ago

  • % Done changed from 90 to 100

Was merged in r425

Updated by Walter Secco about 1 year ago

  • Status changed from New to Closed
  • Resolution set to Resolved

Clearing the roadmap.

Updated by René Nieuwburg about 1 year ago

  • Resolution deleted (Resolved)

Sorry but I still see this. Apparently it appeared triple, also in /etc/httpd/conf/kloxo/init.conf and in /etc/httpd/conf/kloxo/virtualhost.conf. The patch r463 will remove it from virtualhost.conf

Updated by René Nieuwburg about 1 year ago

  • Target version changed from 6.1.5 to 6.1.6
  • Resolution set to Resolved

r464 merged to 6.1.x

Also available in: Atom PDF