Blogger Information
Blog 16
fans 0
comment 3
visits 16910
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
隐藏Apache的版本号及其它敏感信息
Altura的博客
Original
884 people have browsed it

安装完apache一般第一时间都是关闭apache的版本信息和其他信息,一些黑客会通过apache暴露出来的信息针对性的入侵,为了服务器的安全这些信息一定要及时关闭,配置如下

 隐藏Apache信息

        1.1 主配置中启用httpd-default.conf

                # vi /usr/local/apache2/conf/httpd.Conf

                //找到httpd-default.conf,删除includes前面的“#”,改成如下

                Include conf/extra/httpd-default.conf

        1.2 修改httpd-default.conf

            文件:/usr/local/apache2/conf/extra/httpd-default.conf

            找到  

                    ServerTokens Full

                    ServerSignature On

            改成

                    ServerTokens Prod

                    ServerSignature off


  

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post