Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 01-19-2005, 10:08 AM   #1
Registered: Oct 2004
Distribution: Debian
Posts: 39

Rep: Reputation: 15
how do i disable apache2 error banners?

You know how if a web server can't find a requested file (or some other error), it'll just spill its beans about what kinds of modules, their versions, the web server, and the os on top of which it's running?

How do I disable that? What config files do I need to change? I swear, I googled for it but came up short. I even tried grepping for parts of the banner in the /etc/apache2 dirrectory without success. I don't know, maybe it's just too early for me Haven't had coffee yet.
Old 01-19-2005, 12:07 PM   #2
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
You need to set the ServerTokens value in your httpd.conf file. Here are the values you can use, but you probabaly want to use ServerTokens Prod.

Last edited by Hangdog42; 01-19-2005 at 12:08 PM.
Old 01-19-2005, 04:39 PM   #3
Registered: Oct 2004
Distribution: Debian
Posts: 39

Original Poster
Rep: Reputation: 15
Right on the money! Thank you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
what are the services i can disable, also disable ads, banners in konqueror? greythorne SUSE / openSUSE 3 03-16-2005 08:30 AM
How to disable all subdomain on apache2? gepesz Linux - Networking 3 08-01-2004 04:52 PM
how do i remove server banners in apache2? groovin Linux - Networking 7 12-12-2002 01:32 PM
Banners Eternal LQ Suggestions & Feedback 4 03-17-2002 09:39 AM
Banners SkYzOpReNiCk LQ Suggestions & Feedback 1 10-14-2001 02:11 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration