Apache .htaccess Guide, Tutorials and Articles

Apache .htaccess Guide & Tutorial >>

Changing server signature

To change the server signature which is displayed as part of the default Apache error documents, use the following code:

ServerSignature EMail
SetEnv SERVER_ADMIN nospace@pleasenospace.com

The example above will simply change the email address which is displayed, this is useful if the default address is not set correctly.

To remove the server signature completely, use the following code:

ServerSignature Off
 

Next Article: Preventing access to your PHP includes files
Previous Article: Setting server timezone

Comments

Tanweer Khan
"Thank you for the code!"

Post Comment

Your Name:
Your Comment: