PhpStudy2016: Summary of problems encountered during the configuration of multiple domain names, phpstudy2016 Summary
Step 1
Add
Step 2 find the httpd. conf file under Apache to open it, remove the first line #
Step 3 configure the following content in the configuration file vhosts. conf of apache:
Restart Apache .... The domain name has been configured .. Now there is a problem.
This page is displayed in the browser, but when you enter www.test.com/index.php, you can use the index.php program to write your own webpage .... How to break... Comment out the 18 lines in step 3 or add + (plus sign) before the two words behind options and restart Apache to directly access www.test.com.
This problem is solved !!!! In this case, you can directly access index. php without seeing any folder... Skip this step directly. What's the problem? Open httpd. conf and comment out the 251 lines. This problem is solved.
Summary
The above is a summary of the problems encountered during the phpStudy2016 configuration of multiple domain names. I hope to help you. If you have any questions, please leave a message for me, the editor will reply to you in a timely manner. Thank you very much for your support for the help House website!