The ing function is mainly used to allow the Internet to access the computer currently mapped. First, we need to map the vro ports. Common open ports include 80, 21, and 3389, port 80 is a common port for websites, port 21 is a common port for FTP servers, and port 3389 is a Remote Desktop Connection port. The following describes how to map ports in detail!
Step1. open httpd. conf and find the line Listen 80.
Add
Listen 8080.
Listen 8001.
Listen 8002.
Listen 8003.
This means that each project occupies one port, just like the software in the computer, and each software occupies one port.
Step2. find
<Directory/>
Options FollowSymLinks
AllowOverride all
Order deny, allow
Deny from all
Satisfy all
</Directory> modify to the preceding content.
Step 3 add
NameVirtualHost *: 80
<VirtualHost *: 80>
DocumentRoot "d:/wamp/www"
ServerName localhost
</VirtualHost>
<VirtualHost *: 8003>
DocumentRoot "D:/wamp/www/RED4S_V3.0/svn/repos"
ServerName 127.0.0.1: 8003
</VirtualHost>
The project directory of port 8003 is D:/wamp/www/RED4S_V3.0/svn/repos.
In other words, if you want to add a project in the future, you only need to Listen a port and then add <VirtualHost *: port number> at the end. DocumentRoot is the project path...