Server tags on error

goosexp2asia

New member
I run an Apache server, and I don’t like the idea of those server tags on error messages and directory listings. How can I turn these off?
 
To remove the tags, locate the section in your httpd.conf file (usually in
/etc/httpd/conf/httpd.conf) that contains the following:

# Optionally add a line containing the server version and virtual host
# name to server-generated pages (error documents, FTP directory listings,
# mod_status and mod_info output etc., but not CGI generated documents).
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
# Set to one of: On | Off | EMail
# ServerSignature On

The ServerSignature setting can be changed to Off to remove the tag altogether or to Email, which presents an e-mail link with the ServerAdmin email address as it appears in the httpd.conf file.
 

Forum statistics

Threads
80,999
Messages
248,560
Members
20,684
Latest member
mikstrahost
Top