All pastes #923674 Raw Edit

Miscellany

public text v1 · immutable
#923674 ·published 2008-02-29 19:25 UTC
rendered paste body
./apachectl -S
httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.59 for ServerName
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80                   is a NameVirtualHost
         default server dummy-host.example.com (/home/conf/extra/httpd-vhosts.conf:27)
         port 80 namevhost dummy-host.example.com (/home/conf/extra/httpd-vhosts.conf:27)
         port 80 namevhost dummy-host2.example.com (/home/conf/extra/httpd-vhosts.conf:36)
Syntax OK

# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot "/home/docs/dummy-host.example.com"
    ServerName dummy-host.example.com
    ServerAlias www.dummy-host.example.com
    ErrorLog "logs/dummy-host.example.com-error_log"
    CustomLog "logs/dummy-host.example.com-access_log" common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host2.example.com
    DocumentRoot "/home/docs/dummy-host2.example.com"
    ServerName dummy-host2.example.com