You are not logged in.

#1 2011-11-13 02:00:25

monash
Member
From: Hong Kong
Registered: 2011-11-10
Posts: 9

Web Server version information

I have a LAMP setup with the following configuration:

/etc/httpd/conf/extra/httpd-default.conf
ServerTokens Prod 
ServerSignature Off

The web server is currently completely empty (waiting for a drupal setup).

When a fake search is performed on the server (http://www.serverdomain.com/fake-search) the 404 error returns the lamp server details in full:

Apache, OpenSSL and php version details. Here is a screenshot.

http://bayimg.com/HakNgAAdO

How do I go about hiding these version details if ServerTokens and ServerSignature are both already set optimally?

Last edited by monash (2011-11-13 02:04:32)


Keepinitlite: AsusP5K+Nvidia210+Core2+2gbRam

Offline

#2 2011-11-13 12:24:50

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Web Server version information

Here (http://www.ducea.com/2006/06/15/apache- … e-version/) I read that your value for ServerTokens is incorrect...

Offline

#3 2011-11-13 23:39:34

monash
Member
From: Hong Kong
Registered: 2011-11-10
Posts: 9

Re: Web Server version information

Thanks but; Arch Linux Instructions:

# ServerTokens
# This directive configures what you return as the Server HTTP response
# Header. The default is 'Full' which sends information about the OS-Type
# and compiled in modules.
# Set to one of:  Full | OS | Minor | Minimal | Major | Prod
# where Full conveys the most information, and Prod the least.

From the same post quoted above...

"I have tried this but its not working.when i get the error-404 page i get the apache version and os information.why is it so.plz help"


Keepinitlite: AsusP5K+Nvidia210+Core2+2gbRam

Offline

#4 2011-11-14 03:04:36

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Web Server version information

Have you restarted the httpd daemon after making the change?

Offline

#5 2011-11-18 05:52:53

monash
Member
From: Hong Kong
Registered: 2011-11-10
Posts: 9

Re: Web Server version information

Yes, restarted. But...

Had to jump back to oneiric server setup as drush-5.0 installation on arch seemed prone to errors.

Can't live without drush-5.0 (latest beta) to manage Drupal-7 :-)


Keepinitlite: AsusP5K+Nvidia210+Core2+2gbRam

Offline

Board footer

Powered by FluxBB