Page 1 of 1

Too much information at error

PostPosted: 25. November 2007 02:20
by zer0d
If somebody goes to a page that doesn't exist on my server and get 404 Not Found it dumps all this information which I don't like:

Code: Select all
Apache/2.2.6 (Unix) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e PHP/5.2.4 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7 Server at 192.168.0.1 Port 80


How can I remove these messages or rename?

PostPosted: 27. November 2007 23:27
by zer0d
Found the solution myself, had to edit httpd.conf
For signature:
Code: Select all
ServerSignature Off

For header information:
Code: Select all
ServerTokens Prod

PostPosted: 28. November 2007 06:00
by x-files
Thank you for posting the solution, I had the same problem. :wink: