View previous topic :: View next topic |
Author |
Message |
garo Bodhisattva
Joined: 15 Jul 2002 Posts: 860 Location: Edegem,BELGIUM
|
Posted: Sat Jan 18, 2003 10:51 pm Post subject: Can i change the SERVER_SIGNATURE of Apache ? |
|
|
I want to change the SERVER_SIGNATURE of my Apache server for security reasons. I don't like that everyone can see what my server is. Can i change this ? _________________ My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam |
|
Back to top |
|
|
vericgar Retired Dev
Joined: 13 Dec 2002 Posts: 79 Location: Spokane, WA
|
Posted: Sun Jan 19, 2003 2:46 am Post subject: |
|
|
Look into the ServerSignature and ServerTokens directives. Something like the following should work for what you are wanting to do:
Code: |
ServerSignature Off
ServerTokens Prod
|
ServerSignature changes what is displayed on Error pages
ServerTokens changes what is sent in the actual HTTP headers. _________________ +~+ Sometimes a good ole loving kick is all it needs +~+ |
|
Back to top |
|
|
|