当前位置:网站首页>Apache Web page security optimization
Apache Web page security optimization
2022-07-05 02:40:00 【M wild 9】
Apache Web security optimization
Apache Overview of web page optimization :
In the enterprise , Deploy Apache Only the default configuration parameters are used , Can send many questions about network defense , In other words, the photo recognition configuration is for the previous lower server configuration ,
The previous configuration is no longer suitable for today's Internet era .
Web page compression practice
First step : Check for installation mod_deflate modular :
The second step : No installation mod_deflate modular , Recompile install Apache Add this module
1) Close the service , Then on httpd After the file is backed up , Install the program
2) Recompile install Apache add to mod_deflate modular
3) Recompile install
The third step : To configure mod_deflate modular
1) Amendment No 51 That's ok , then 52 Line comment out
2) modify 105 Row sum 197 That's ok
3) Add configuration in the last line
Step four : Check the installation , Start the service
Step five : test mod_deflate Is compression effective
\1. Drag in the picture , Then edit index.html file
echo “192.168.153.30 www.nj.com” >> /etc/hosts
Web caching Practice
First step : Check for installation mod expires modular
The second step : If not installed mod_expires modular , Recompile install Apache add to mod_expires modular
1) Install the program
2) Load module
3) Recompile install
The third step : To configure mod_expires Module enable
1) Switch directories and then modify the monitored IP Address
2) Cancel 111 Comment on line
3) Modify domain name
4) Add configuration in the last line
Step four : Check the installation , Start the service
Step five : test result
1) Go to the web page , Then clean up the records and refresh
2) Check whether the cache is effective
Apache Security optimization
Hide version information Practice
First step : modify httpd.conf file , The modification is as follows
The second step : modify httpd-default.conf file , The modification is as follows
test
Configure anti-theft chain Practice
First step : Check for installation mod rewrite modular
The second step : If not installed mod_rewrite modular , Recompile install Apache add to mod rewrite modular
1) Out of Service , Then back up the files , Conduct yum Erection sequence
2) add to mod rewrite modular
3) Recompile install
The third step : To configure mod_rewrite Module enable
1) modify /usr/local/httpd/conf/httpd.conf file , Cancel 157 Line notes
2) stay 224 Add these configurations below the line ( I found it on the virtual machine , This is a screenshot of forgetting to finish )
Step four : Chain theft test
1) Configure on the source host ( This screenshot is wrong , The process of forgetting to modify back is such a process )
Configure on the chain stealing host httpd Related configuration
Configure temporary domain name resolution on the chain stealing host
5) Visit the website address of the stealing host on the stealing host ( Remember to clean up the history and cache, and then refresh the web page )
边栏推荐
- Hmi-30- [motion mode] the module on the right side of the instrument starts to write
- Official announcement! The third cloud native programming challenge is officially launched!
- [technology development-26]: data security of new information and communication networks
- . Net starts again happy 20th birthday
- Matrixone 0.2.0 is released, and the fastest SQL computing engine is coming
- Vb+access hotel service management system
- Using druid to connect to MySQL database reports the wrong type
- The phenomenology of crypto world: Pioneer entropy
- The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
- 使用druid連接MySQL數據庫報類型錯誤
猜你喜欢
College Students' innovation project management system
Character painting, I use characters to draw a Bing Dwen Dwen
A label making navigation bar
A label colorful navigation bar
Learn game model 3D characters, come out to find a job?
Design and practice of kubernetes cluster and application monitoring scheme
问题解决:AttributeError: ‘NoneType‘ object has no attribute ‘append‘
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
Video display and hiding of imitation tudou.com
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
随机推荐
Design and implementation of kindergarten management system
Open source SPL optimized report application coping endlessly
【LeetCode】106. Construct binary tree from middle order and post order traversal sequence (wrong question 2)
Design and implementation of high availability website architecture
Character painting, I use characters to draw a Bing Dwen Dwen
Breaking the information cocoon - my method of actively obtaining information - 3
Design and practice of kubernetes cluster and application monitoring scheme
RichView TRVStyle MainRVStyle
Subject 3 how to turn on the high beam diagram? Is the high beam of section 3 up or down
Asynchronous and promise
tuple and point
Some query constructors in laravel (2)
使用druid连接MySQL数据库报类型错误
【LeetCode】501. Mode in binary search tree (2 wrong questions)
Limited query of common SQL operations
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
Moco V2 literature research [self supervised learning]
RichView TRVUnits 图像显示单位
Acwing第 58 场周赛【完结】
低度酒赛道进入洗牌期,新品牌如何破局三大难题?