httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronald F. Guilmette" <>
Subject [users@httpd] 2.4 named virtual hosts question
Date Mon, 12 Sep 2016 01:43:55 GMT

A simple question.  Sorry if this is an FAQ.

I'm just bringing up a fresh VM system that I plan to move my small
handful of web sites to.

I'v so far managed to mostly get apache24 installed and configured.
I've moved all of my web sites over to the new system, and it mostly
all seems to be working, but I ran the "httpd -S" command to see
if that would detect any goof-ups on my part.  (It did, but I already
fixed those.)

Now when I run "httpd -S" I am seeing in the output:

VirtualHost configuration:
*:*                    is a NameVirtualHost
         default server (/usr/local/etc/apache24/extra/httpd-vhosts.conf:40)
         port * namevhost (/usr/local/etc/apache24/extra/httpd-vhosts.conf:40)
         port * namevhost (/usr/local/etc/apache24/extra/httpd-vhosts.conf:69)
         port * namevhost (/usr/local/etc/apache24/extra/httpd-vhosts.conf:94)

I have three domains that I want to serve (as vhosts) from this newly
installed server, and all three are mentioned above.  But the part I don't
get (and don't really want) is all that stuff about a default (*:*)
server/service.  How can I get rid of that while still providing service
for my three vhosts?

(Note:  People may say: "Oh, just leave it.  It isn't really any
problem to just leave it."  But I'm paranoid about security, so I'm
always inclined to minimize my attack surface as much as possible.)

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message