This article mainly describes the phpStudy2016 configuration of multiple domain names encountered during the summary, the need for friends can refer to the following
The first step
Under the Hosts file under C:\Windows\System32\drivers\etc, add
Second step to find Apache under the httpd.conf file open, minus 171 lines front of the #
Step three in Apache configuration file vhosts.conf, configure the following
Restart Apache to .... The domain name is well-equipped. Now there's a problem.
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 that follow the options and restart Apache for direct access to www.test.com
This problem is solved!!!! At this time there is a problem direct access to the index.php folder and so on. Just skip over, and what's going on when you open httpd.conf and comment out 251 lines, this solves the problem.
Summarize