Beginner's | standard
The principle of directory establishment: Provide the clearest and easiest access structure at the lowest level.
The root directory.
The root directory is the directory where the index file that the DNS domain name server points to is stored.
The FTP upload directory for the server defaults to HTML
root directory Files
The root directory only allows you to store index.html and main.html files, as well as other required system files.
Each language version is stored in a separate directory. The existing version language is set to:
Simplified Chinese \GB
Traditional Chinese \big5
English \en
Japanese \JP
Each main function (main menu) establishes a corresponding independent directory.
The images under the root directory are stored in the public picture directory, and the private pictures in each directory are stored in their respective separate images directories.
For example: \menu1\images
\menu2\images
All JS files are stored in the root directory of the unified directory \script
All CSS files are stored in the root directory in the style directory
All CGI programs are stored in the root directory of the \cgi_bin directory