httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronald F. Guilmette" <...@tristatelogic.com>
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 tristatelogic.com (/usr/local/etc/apache24/extra/httpd-vhosts.conf:40)
         port * namevhost tristatelogic.com (/usr/local/etc/apache24/extra/httpd-vhosts.conf:40)
                 alias www.tristatelogic.com
         port * namevhost 47-usc-230c2.org (/usr/local/etc/apache24/extra/httpd-vhosts.conf:69)
                 alias www.47-usc-230c2.org
         port * namevhost sordid-details.com (/usr/local/etc/apache24/extra/httpd-vhosts.conf:94)
                 alias www.sordid-details.com
...
===============================================================================

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: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message