server signature

Problems with the Linux version of XAMPP, questions, comments, and anything related.

server signature

Postby feest » 01. April 2007 22:11

Can i change the server signature to the apache default because i think it's to long:

Apache/2.2.4 (Unix) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8d PHP/5.2.1 mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.7 Server at 83.117.102.76 Port 80

compared to

Apache/2.2.3 (<operating system>) Server at <ip> Port 80

can i change this?
feest
 
Posts: 35
Joined: 17. April 2006 13:23

Postby Wiedmann » 02. April 2007 00:07

http://httpd.apache.org/docs/2.2/mod/co ... rsignature

(and additional links, included in the above article)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby feest » 04. April 2007 14:10

okay but where do i change it, where is the file...
feest
 
Posts: 35
Joined: 17. April 2006 13:23

Postby Wiedmann » 04. April 2007 15:16

Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby feest » 09. April 2007 15:32

well that doesn't help me can you please explain me how to do it?
feest
 
Posts: 35
Joined: 17. April 2006 13:23

Postby ManUnix » 09. April 2007 20:19

Hi feest,

you have to edit the file "/opt/lampp/etc/httpd.conf".

Open it and search for the line starting with "ServerTokens" and replace "Full" with whatever you like.

"ServerTokens OS" could be what you're looking for.

(And don't forget to restart Apache after your change.)

cu,
Manu
User avatar
ManUnix
 
Posts: 113
Joined: 16. April 2006 15:14

Postby feest » 17. April 2007 15:33

thx this works, only xampp says UNIX in stead of CentOS (i know linux has a connection to UNIX but it would be better if it says CentOS) any suggestions? i'm not waiting for a manual output...
feest
 
Posts: 35
Joined: 17. April 2006 13:23


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 5 guests