Hello,

I am wanting to clean up my Apache 2.2.9 (Debian Package) installation after 
modifying it to virtual host 7 domains in order to make it more robust, 
understandable, secure and maintainable.  I want to have one of these sites 
being a SSL site.

-----

I have read the section on NameVirtualHost,
http://httpd.apache.org/docs/2.0/mod/core.html#namevirtualhost

* Does NameVirtualHost get used in every entry in /etc/apache2/sites-available/ 
?  Is it redundant to include that declaration in all the others as well?

-----

The reason I ask this is I am having a warning delivered to me.

I initially have one website enabled.  The entry in sites-available is defined 
like this:

NameVirtualHost *:80
<VirtualHost *:80>
     ....
</VirtualHost>

When I enable a second website whose entry is identical in layout, I reload and 
am told:

[warn] NameVirtualHost *:80 has no VirtualHosts

And when I comment out the NameVirtualHost *:80, for the second entry in 
sites-available, the warning is gone.  This leads me to believe that this 
declaration is redundant.

What are your thoughts?


Thanks for your help!

Tim Legg



      

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to