In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces where the root directory of apache is, which can be used for reference. Friends who need it can refer to it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
XAMPP collection software in the Apache site root directory by default in the XAMPP subfolder htdocs, when you build some websites, some large, want to quickly open the directory on the computer is a bit inconvenient. Next, I will briefly explain how to modify the root directory of the website: (recommended Learning: apache use)
First, open the httpd.conf file. This file is in the "apache\ conf" folder under the XAMPP installation directory. (my own httpd.conf file directory is at: d:\ xampp\ apache\ conf)
Second, modify the code. In the httpd.conf file, find the following two lines of code and modify them. (the original root directory of my website is: d:\ xampp\ htdocs)
DocumentRoot "D:/xampp/htdocs"
Just change the two directories to the directory you want, as I modify it as follows: (D:/WEB is the root directory of my new URL)
DocumentRoot "E:/WEB"
Third, restart Apacher. Copy the website files to the new website directory and restart Apache,OK
Thank you for reading this article carefully. I hope the editor will share where the root directory of apache is helpful to everyone. At the same time, I also hope that you will support us, pay attention to the industry information channel, and find out if you have any problems. Detailed solutions are waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.