当前位置:网站首页>Basic knowledge of web pages (URL related)
Basic knowledge of web pages (URL related)
2022-06-25 04:55:00 【Two kings lead two teams】
url form : agreement // website / Virtual directory / file name # anchor
The partial :http://、https://( You do not need to enter... When entering the web address , Web pages will be automatically added )
website :www.baidu.com.
domain name :baidu.com
Top-level domain name : Institutions 、 Country
.com: business organization
.org: Non profit organizations
.gov: government organs
.edu: Educational and research institutions
.cn: China
.us: The United States
Two level domain name : Branches and formula products sometimes use secondary domain names
Such as :mail.qq.com
Static website :
1. After the content is published on the website, it is saved on the website , The content of the document is fixed
2. The content is relatively stable and easy to search
3. No database support ( Heavy production and maintenance workload )
4. Poor interactivity
Dynamic website :
1. Interactivity , Web pages will dynamically change and respond to users' needs .
2. Auto update , Save work
3. Change with people , Different time , Different users have different access contents
The relationship between dynamic websites and static websites is mutually exclusive , Dynamic website to asp,jsp,php,perl,cgi In the form of , instead of html etc.
The basic concept of the website :
The server : Devices that provide computing services (server) Including documents 、 database 、 Applications ,web etc. , The function of the server depends on the service software installed on the computer :Apache、tomcat、iis etc.
ip Domain name :
ip The address is unique , The function of domain name is to replace ip Address
DNS( The domain name system ): And ip Domain name mapping , Resolving domain names makes it easier for users to find the Internet
port (port): Virtual and physical ports
The outlet for communication between equipment and the outside world , The virtual port is inside the computer or inside the switch router , invisible
Physical ports are interfaces .
Access Process :
User input ->DNS-> Server computer -> Virtual ports ( Server software )
Static web address :
Personal computer : browser ( Connected to the Internet ) Server computer : Apache, Folder : Many web pages
Input url dns( Local ip The Internet ip) : The Internet ip To local computer Find the server computer , adopt 80 Port find service software apache
http//localhost:80/index.html Indicates the relative directory of the file ; apache Return the results to the browser , Browser parsing
Dynamic website :
http://localhost:80/index.php
mysql database ( Command line operations )
Access requires searching 、 matching 、 Connection authentication .
The host address :-hlocalhost( It saves )
port :-P3306( It saves )
authentication : Enter the server through user name and password ( Don't omit )
user name :-uroot
password :-proot
namely :mysql -hlocalhost -P3306 -uroot -proot
Virtual host :
Name the folders on your computer differently , Then the implementation allows the server to change from different folders according to the needs of users ( Website ) Read different contents in
classification :
1、 be based on ip Virtual host of address , There are multiple on one computer ip, Every ip Corresponding to a website .
principle : There is only one computer by default ip, Because there is usually only one network card : But some computers ( Most servers ) You can configure multiple ip Address
2、 Domain based virtual host , There is only one computer ip, however IP You can create multiple websites , But give each site a different name ( Virtual host name )
边栏推荐
- 【图像融合】基于matlab方向离散余弦变换和主成分分析图像融合【含Matlab源码 1907期】
- JDBC (IV)
- Why does the SQL statement hit the index faster than it does not?
- Response (XI)
- 两小时带你进入软件测试行业风口(附全套软件测试学习路线)
- Abuse unlimited authorization -- is your address safe?
- Sleep more, you can lose weight. According to the latest research from the University of Chicago, sleeping more than 1 hour a day is equivalent to eating less than one fried chicken leg
- Summary of SQL injection (I)
- JS arguments
- OOP vector addition and subtraction (friend + copy construction)
猜你喜欢
为什么SQL语句命中索引比不命中索引要快?
Difference between asemi high power FET and triode
SOC验证环境的启动方式
CTF_ Web: Changan cup-2021 old but a little new & asuka
Code scanning payment flow chart of Alipay payment function developed by PHP
How to use the Magic pig system reinstallation master
leetcode1221. 分割平衡字符串
WPF 使用 MAUI 的自绘制逻辑
ROS2/DDS/QoS/主题的记录
2.0springmvc uses restful
随机推荐
There is 404 in the laravel visit, except the home page is redirected; Index php
Laravel Vonage SMS sending
【FLink】access closed classloader classloader. check-leaked-classloader
Machine learning deep learning -- Vectorization
Virtual honeypot Honeyd installation and deployment
Upgrade PHP to php7 The impact of X (2), the obsolescence of mcrypt decryption
Write shell script error summary
Sleep more, you can lose weight. According to the latest research from the University of Chicago, sleeping more than 1 hour a day is equivalent to eating less than one fried chicken leg
小白一键重装官网下载使用方法
Cookie & session & JSP (XII)
TeeChart Pro ActiveX 2022.1
cannot import name ‘escape’ from ‘jinja2’【成功解决】
Use text analysis to identify the main gender in a text
buuctf web
How to use the Magic pig system reinstallation master
Record the problem of C # print size once
DMA double buffer mode of stm32
Calculate student grade (virtual function and polymorphism)
XSS (cross site script attack) summary (II)
Web3 DApp用户体验最佳实践