Add to Favorites
Hosting Discussion
 

forgot password?


Reply


Old
  Post #1 (permalink)   12-18-2005, 01:24 PM
HD Newbie
 
Join Date: Dec 2005
Posts: 13

Status: goosexp2asia is offline
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?
 
 
 


Old
  Post #2 (permalink)   12-18-2005, 03:51 PM
HD Addict
 
Join Date: Dec 2005
Posts: 103

Status: dotcomguy is offline
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.
 
 
 


Old
  Post #3 (permalink)   12-18-2005, 05:32 PM
HD Newbie
 
Join Date: Dec 2005
Posts: 13

Status: goosexp2asia is offline
thank you.
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On