Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd March 2004, 09:51 PM
Fedoran00bi Offline
Registered User
 
Join Date: Mar 2004
Location: Earth
Age: 41
Posts: 24
How to change server banner in Apache/2.0.48

Im looking to change my server banner.

Apache/2.0.48 (Fedora) Server at mybox Port 80

to

Whatever I want here at mybox Port 80


Thanks in Advance-
Reply With Quote
  #2  
Old 22nd March 2004, 10:17 PM
h4d's Avatar
h4d Offline
Registered User
 
Join Date: Feb 2004
Location: Boston
Posts: 239
don't think you can do that

http://httpd.apache.org/docs/mod/core.html#servertokens

Check that out. With the ServerTokens directive I believe you can specify how much you want to give away about your box, but not really write whatever you want there. If you find a way let us know!
Reply With Quote
  #3  
Old 23rd March 2004, 12:31 AM
Fedoran00bi Offline
Registered User
 
Join Date: Mar 2004
Location: Earth
Age: 41
Posts: 24
ServerTokens

I just changed my httpd.conf's

ServerToken ProductOnly

and now my server banner request looks like:

Apache Server at 127.0.0.1 Port 80

instead of this:

Apache/2.0.48 (Fedora) Server at 127.0.0.1 Port 80
-----------------

I also heard, if you edit the httd.h in the apache package that you can edit, and create anything u want like..

Calculator at 127.0.0.1 Port 80

instead of

Apache Server at 127.0.0.1 Port 80

Last edited by Fedoran00bi; 23rd March 2004 at 12:36 AM.
Reply With Quote
  #4  
Old 23rd March 2004, 03:25 AM
redhat71 Offline
Registered User
 
Join Date: Feb 2004
Location: China
Posts: 124
since you use the word "banner", i suppose you actually mean the ServerSignature

if that's the case, you can disable it and use a customized README.html instead

here's an example:
http://redhat71.3322.org/tmp/
Reply With Quote
  #5  
Old 23rd March 2004, 04:08 AM
Fedoran00bi Offline
Registered User
 
Join Date: Mar 2004
Location: Earth
Age: 41
Posts: 24
That would be cool.

How can I do that?

Thnx

Last edited by Fedoran00bi; 23rd March 2004 at 04:27 AM.
Reply With Quote
  #6  
Old 23rd March 2004, 05:04 AM
redhat71 Offline
Registered User
 
Join Date: Feb 2004
Location: China
Posts: 124
modify httpd.conf to:
1, "ServerSignature Off"
2, "ReadmeName /README.html"

then creat a README.html file in you web root and put whatever you want to show up in it

but this is not about how to change the signature, it's simply a fake by disabling the signature and putting something else in its place
Reply With Quote
  #7  
Old 23rd March 2004, 05:14 AM
Fedoran00bi Offline
Registered User
 
Join Date: Mar 2004
Location: Earth
Age: 41
Posts: 24
True, cause I can use nmap to fingerprint and bamm it says "Apache" heh.
Reply With Quote
  #8  
Old 23rd March 2004, 01:19 PM
redhat71 Offline
Registered User
 
Join Date: Feb 2004
Location: China
Posts: 124
Quote:
Originally posted by Fedoran00bi
True, cause I can use nmap to fingerprint and bamm it says "Apache" heh.
this is just for fun, you can't count on it to fool anyone or anything @_@
Reply With Quote
Reply

Tags
apache or, banner, change, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re-compile Apache to change suexec doc root milvet Guides & Solutions (No Questions) 0 24th June 2006 01:34 AM
How to change apache email address apache@localhost to admin@proporta.lk niloshima Servers & Networking 2 17th November 2005 11:36 AM
How do I change the welcome banner? jpolachak Using Fedora 8 14th June 2005 02:38 PM
How to change root document directory in Apache? BandC Using Fedora 4 4th March 2005 06:00 AM


Current GMT-time: 13:07 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat