Port ING is used to allocate a port to each project in Apache to enable one port to access a website. 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, 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
Options FollowSymLinks
AllowOverride all
Order deny, allow
Deny from all
Satisfy all
Change to the above content
Step 3 add
NameVirtualHost *: 80
DocumentRoot "d:/wamp/www"
ServerName localhost
DocumentRoot "D:/wamp/www/RED4S_V3.0/svn/repos"
ServerName 127.0.0.1: 8003
The project directory of port 8003 is D:/wamp/www/RED4S_V3.0/svn/repos.
That is to say, to add a project in the future, you only need to Listen a port and then add , DocumentRoot is the Project path...
Success ,...