1. CONF/httpd. conf only needs to remove the annotator # started by the two virtual hosts. Do not change anything else.
2, extra/httpd-vhosts.conf only need to first 2 namevirtualhost, and then point to the two ports.
Attachment httpd-vhosts.conf document
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# Machine you can setup virtualhost containers for them. Most deployments
# Use Only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the Directives below.
#
# Please see the documentation
# <URL: http://httpd.apache.org/docs/2.2/vhosts/>
# For further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# Configuration.
#
# Use name-based virtual hosting.
#
Namevirtualhost *: 81
Namevirtualhost *: 82
#
# 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 *: 81>
Serveradmin jsw7001@hotmail.com
DocumentRoot D:/appserv/WWW
Servername www.dede.com
Errorlog D:/appserv/www/errornongye. Log
Customlog logs/dummy-host2.appservnetwork.com-access_log common
</Virtualhost>
<Virtualhost *: 82>
Serveradmin jsw7001@hotmail.com
DocumentRoot D:/appserv/www/wwwnongjiale
Servername www.dede.com
Errorlog D:/appserv/www/wwwnongjiale/errornongjiale. Log
Customlog logs/dummy-host2.appservnetwork.com-access_log common
</Virtualhost>
<Virtualhost *: 80>
Serveradmin webmaster@dummy-host2.x
DocumentRoot "C:/apache2.2/docs/dummy-host2.x"
Servername dummy-host2.x
Errorlog "log/dummy-host2.x-error.log"
Customlog "logs/dummy-host2.x-access.log" common
</Virtualhost>