Sometimes when we register our website on other websites, we need to put the verification information of the other website to the root of our website and verify it. So what is the root directory of the Web site?
Such as: This is the Ali mm website needs
From the prompt message we can see that the first step to download the Root.txt file this everyone will.
Step two: Place the validation file at the root of the domain name you are configuring. This is where you place the root directory of your own web site.
So where exactly is the site root directory?
There are two things here: the PHP website and the Java program's website
A: The root directory of the PHP Web site (this refers to the virtual host configuration)
Two: The root directory of the Java application
Because of the use of Nginx reverse proxy. The configuration information in Nginx is as follows:
Location/{
root/home/ftpuser/www;
Error_page 405 =200 $request _uri;
Index index.html index.htm;
}
I thought I would put it in the Nginx directory. But after the test, the discovery failed. In other words, the Root.txt file is placed under/home/ftpuser/www Click to complete verification is not passed. And then I was curious. Where the hell is it?
Finally put it under the WebApps and try it. It's still not working. The reason for this analysis is that I have multiple projects under the WebApp of Tomcat. Is it possible to put it under the corresponding project? So try to put it under the corresponding project. For example:/home/tomcat8/webapps/gwjeesns/is placed in this directory. Such as:
Click "Finish Verification" in figure one again to pass the result. So here's the summary:
Java Application Web Site Directory: is in the corresponding Tomcat WebApps under the corresponding project directory
Where is the Web root directory?