当前位置:网站首页>20201107第16课,使用Apache服务部署静态网站;使用Vsftpd服务传输文件
20201107第16课,使用Apache服务部署静态网站;使用Vsftpd服务传输文件
2020-11-09 11:37:00 【osc_hxm151is】
虚拟网站主机功能

pache的虚拟主机功能是服务器基于用户请求的不同IP地址、主机域名或端口号,实现提供多个网站同时为外部提供访问服务的技术,用户请求的资源不同,最终获取到的网页内容也各不相同。
基于主机域名
当服务器无法为每个网站都分配一个独立IP地址的时候,可以尝试让Apache自动识别用户请求的域名,从而根据不同的域名请求来传输不同的内容。在这种情况下的配置更加简单,只需要保证位于生产环境中的服务器上有一个可用的IP地址就可以。/etc/hosts是Linux系统中用于强制把某个主机域名解析到指定IP地址的配置文件。
Apache可以基于源主机名、源IP地址或源主机上的浏览器特征等信息对网站上的资源进行访问控制。它通过Allow指令允许某个主机访问服务器上的网站资源,通过Deny指令实现禁止访问。在允许或禁止访问网站资源时,还会用到Order指令,这个指令用来定义Allow或Deny指令起作用的顺序,其匹配原则是按照顺序进行匹配,若匹配成功则执行后面的默认指令。
文件传输协议(File Transfer Protocol,FTP)
vsftpd服务程序三种认证模式(匿名开放模式、本地用户模式、虚拟用户模式)
可插拔认证模块(Pluggable Authentication Module,PAM)
简单文件传输协议(Trivial File Transfer Protocol,TFTP)




版权声明
本文为[osc_hxm151is]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/4365856/blog/4709046
边栏推荐
- Method of creating flat panel simulator by Android studio
- Using stream to read and write files to process large files
- What details does C + + improve on the basis of C
- Composition - API
- AI应届生年薪涨到40万了,你现在转行还来得及!
- Mapstructure detoxifies object mapping
- 实现商品CRUD操作
- 上周热点回顾(11.2-11.8)
- Capture bubbles? Is browser a fish?
- Handwriting Koa.js Source code
猜你喜欢

LTM understanding and configuration notes

Handwriting Koa.js Source code

The middle stage of vivo Monkey King activity

Python零基础入门教程(01)

Recommended tools for Mac

range_sensor_layer

Biden wins the US election! Python developers in Silicon Valley make fun of Ku Wang in this way

Complete set of linked list operations of data structure and algorithm series (3) (go)

Open source projects for beginners on GitHub (Python)

Ten year itch of programmer
随机推荐
nodejs学习笔记(慕课网nodejs从零开发web Server博客项目)
解决python调用 ffmpeg时 ‘ffmpeg‘ 不是内部或外部命令,也不是可运行的程序
推荐系统,深度论文剖析GBDT+LR
Android rights
Show profile analysis of SQL statement performance overhead
Deng Junhui's notes on data structure and algorithm learning - Chapter 9
Composition - API
1486. Array XOR operation
Android check box and echo
From the practice, this paper discusses the problems caused by the inconsistent design of ruby syntax.
SHOW PROFILE分析SQL语句性能开销
使用rem,做到屏幕缩放时,字体大小随之改变
Jsliang job series - 08 - handwritten promise
零基础IM开发入门(四):什么是IM系统的消息时序一致性?
商品管理系统——商品新增本地保存实现部分
Rainbow sorting | Dutch flag problem
开源ERP招聘了
git 删除iml文件
C++在C的基础上改进了哪些细节
再读《重构》