PhpStudy2016: Summary of problems encountered during the configuration of multiple domain names, phpstudy2016 Summary

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.