apache2.2 到 2.4后配置文件需要更改的部分
2024-09-04 10:59:24
参考: http://www.dotblogs.com.tw/maple ... e24_httpd_conf.aspx
1. 访问控制
2.2 的时候
Order deny,allow
Deny from all
在 2.4 需要改成
Require all denied
常用的配置有:
Require all denied
Require all granted
Require host xxx.com
Require ip 192.168.1 192.168.2
Require local
2. RewriteLogLevel 变为:logLevel
如,LogLevel warn rewrite: warn
3. Namevirtualhost 被移除
4. 网站压缩,除了使用mod_deflate,还要mod_filter
使用ssl,除了使用mod_ssl,还需要mod_socache_shmcb
最新文章
- 第五章GPIO接口
- 把GAE程序通过SSH部署到 VPS
- MVC 全局异常处理及禁用显示头
- 奇怪吸引子---TreeScrollUnifiedChaoticSystem
- Free Slideshow, Gallery And Lightboxes Scripts
- Summary: Process &; Tread
- javaWeb学习笔记
- php 常用 常量集合
- JAVA读取、写入Excel表格(含03版)
- redis数据类型-列表类型
- Linux用户登录日志查询
- beta冲刺2/7
- Docker入门详解(转载)
- linux系统下部署DNS反向解析
- 从源码的角度看 React JS 中批量更新 State 的策略(上)
- GO语言的进阶之路-初探GO语言
- Rabbitmq基本使用 SpringBoot整合Rabbit SpringCloud Stream+Rabbit
- 《Javascript权威指南-第6版》
- JavaScript Array 对象常用方法
- dwr3实现消息精确推送详细步骤