First, open the site domain name management, configuration, the site domain name and directory can be set by itself, the port reset one, not 80, and then add and then save.
Open the profile vhosts and you'll see something new on port 801.
Add new port number to Gen Y in config file http.conf
Then under configuration in the Hosts file, 127.0.0.1 www.aaa.com
Then, Madeleine Gg, appeared forbidden, 403, no access rights.
A great deal of effort finally found the solution, the following first copy the contents of the solution, and finally attach the original address.
The first step
Under the Hosts file under C:\Windows\System32\drivers\etc, add
The second step is to find the Apache httpd.conf file Open, remove the # 171 front # Third step in Apache configuration file vhosts.conf, configure the following to restart Apache .... The domain name is well-equipped. Now there is a problem with the browser out of such a page but when you enter www.test.com/index.php you can access the index.php program needs to write the full path .... How to break ... Comment out the 18 lines in the third step or add a + (plus sign) to the two words in the back of the options and restart Apache to directly access the www.test.com this problem is solved!!!! At this time there is a problem direct access to the index.php folder and so on. Skip straight, and what's going on at this time Open httpd.conf, will be 251 lines commented out, this problem solved by adding a sentence of their visit with the upper port such as: http://www.aaa.com:801/Good, happy programming bar 403 Wrong solution Original link: http://www.cnblogs.com/ssfs/p/6255791.html#3745727
Phpstudy Configuring multi-site multi-domain steps, and 403 error resolution encountered