LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-09-2002, 01:27 PM   #1
groovin
Member
 
Registered: Oct 2002
Distribution: RH 8
Posts: 83

Rep: Reputation: 15
how do i remove server banners in apache2?


i have apache 2 running on RH8. it i have a indexed dir that is password protected using .htaccess files. so, when a person visits the page, they get the usual username and password prompt. but if they input anything incorrectly, they get this error page:
------
Authentication required!
This server could not verify that you are authorized to access the URL "/example". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
In case you are allowed to request the document, please check your user-id and password and try again.
If you think this is a server error, please contact the webmaster
Error 401

Mon 09 Dec 2002 11:30:04 AM PST
Apache/2.0.40 (Red Hat Linux)
------

Can I modify what this page says? especially the part on the bottom about Apache and Red Hat Linux...

thanks
 
Old 12-09-2002, 05:50 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
the files are in /var/www/error

and /var/www/error/include

Last edited by DavidPhillips; 12-09-2002 at 05:54 PM.
 
Old 12-10-2002, 02:58 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
I thought it was "ServerSignature Off" in the conf?
 
Old 12-10-2002, 06:40 PM   #4
groovin
Member
 
Registered: Oct 2002
Distribution: RH 8
Posts: 83

Original Poster
Rep: Reputation: 15
unSpawn,

i already have ServerSignature Off in the conf. it kills the banner on the bottom of server generated index pages but not in the authentication required page. i wonder about all the others...
 
Old 12-11-2002, 03:10 PM   #5
groovin
Member
 
Registered: Oct 2002
Distribution: RH 8
Posts: 83

Original Poster
Rep: Reputation: 15
davidphillips, thanks they were there.

in case anyones wondering, the server banner tags are in /var/www/error/include/bottom.html

there are some tags like "var = server name" just remove them.
 
Old 12-11-2002, 03:26 PM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I would at least leave an email address in there in case someone has an issue with some error
 
Old 12-12-2002, 01:23 PM   #7
groovin
Member
 
Registered: Oct 2002
Distribution: RH 8
Posts: 83

Original Poster
Rep: Reputation: 15
its in my profile, mhiraga@alumni.ucsd.edu
 
Old 12-12-2002, 01:32 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
no I mean on your webserver error pages
 
  


Reply


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
Proper way to remove apache2? stefanlasiewski Debian 3 08-21-2005 04:54 PM
Remove apache2? freakin'me Linux - Software 3 08-13-2005 11:01 AM
how do i disable apache2 error banners? nazdrowie Linux - Security 2 01-19-2005 04:39 PM
Remove apache2 (httpd) jermo5 Linux - Newbie 8 08-06-2003 07:20 AM
Remove apache2, keep apache 1.3 jermo5 Linux - Software 0 08-05-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:45 PM.

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