Apache – Change the server identification header

0
66



Would you like to learn how to configure the identification banner on the Apache server? In this tutorial, we are going to show you how to change the Apache token on a computer running Ubuntu Linux.

• Ubuntu 20
• Ubuntu 19
• Ubuntu 18
• Apache 2.4.41

Equipment list

Here you can find the list of equipment used to create this tutorial.

This link will also show the software list used to create this tutorial.



Apache – Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Apache.




Apache – Change the server identification banner

Install the Apache server and the required packages.

Copy to Clipboard

Verify the configured Apache token.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the Apache header.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Edit the Apache configuration file.

Copy to Clipboard

Here is the file, before our configuration.

Copy to Clipboard

Here is the file, after our configuration.

Copy to Clipboard

Restart the Apache service.

Copy to Clipboard

The Apache header will only display the basic information.

Copy to Clipboard

In our example, we configured the Apache header to display the minimum amount of information.

In our example, we disabled the Apache server signature header.

Apache Token - Configure server header

Congratulations! You have finished the Apache header configuration.



Apache – Configure a custom server header

Install the Apache server and the required packages.

Copy to Clipboard

Verify the configured Apache token.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the Apache header.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Edit the Apache configuration file.

Copy to Clipboard

Here is the file, before our configuration.

Copy to Clipboard

Here is the file, after our configuration.

Copy to Clipboard

Restart the Apache service.

Copy to Clipboard

Verify the configured Apache token.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the Apache header.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

The Apache header will display the IIS server information.

Apache Banner - Configure server header

In our example, we configured the Apache header to display the information of an IIS server from Microsoft.



The post Apache – Change the server identification header appeared first on TechExpert.

Sumber: TechExpert

LEAVE A REPLY

Please enter your comment!
Please enter your name here