Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Apache response header Header modification

Shulou Source: shulou.com Published: 2022-06-01 07:05:15 10月03日 Update

When we deploy LAMP and test the output of the page, we can see the following header in the http response header:

Server:Apache/2.2.3 (Red Hat) X-Powered-By:PHP/5.1.6 shows some sensitive information on the server, which is not safe, so we need to adjust and turn off the display of "X-Powered-By:PHP/5.1.6": modify php.iniexpose_php = Off to simplify the output of "Server:Apache/2.2.3 (Red Hat)": modify httpd.confServerTokens Prod

Tags: Output security information server this is page service test adjustment Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS vpn MariaDB Huawei Shulou Technology