Re: [users@httpd] NameVirtualHost xxx:0 has no VirtualHosts

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

 



Davide Bianchi wrote:
robert rottermann wrote:
fix your configuration
If I knew how ...

Locate your httpd.conf (usually under /etc/something or use httpd -V to
see where apache thinks his config dir is), open it up with your
preferred editor, locate the offending line and comment it out.
Save the file, restart apache to see if he still complaints.

See the documentation about VirtualHost.

Davide

thanks again,
it is not that I do not know how to edit the config files,
I do not know how to get rid of the warning.

This is what I have (spread into two files)

NameVirtualHost 147.86.4.81
<VirtualHost _default_:80 >
 ServerName intranet.fh-aargau.ch
 ...
</VirtualHost>
<VirtualHost _default_:443>
 ServerName intranet.fh-aargau.ch:443
 ...
</VirtualHost>
<VirtualHost 147.86.4.81:80 >
 ServerName www.bwl-online.ch
 ....
</VirtualHost>


The real problem I am trying to hunt down is that
www.bwl-online.ch
points to the _default_ VirtualHost

Robert


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux