Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to hide xampp apache version number

Tags:

apache

I am using xampp(1.8.1) apache server. I would like to hide my Apache Version info when user got 404 pages. I did some research and I know that I should add following two directives in configuration file.

ServerSignatire Off

ServerTokens Prod

But I am not sure 1) which file should I edit in xampp apache? 2) which section/where should I insert these two directives inside file. at the beginning? or at the bottom? I am not clear on these. please help

Thank you

like image 280
user3239050 Avatar asked Jan 17 '26 18:01

user3239050


1 Answers

fyi team - after lots of research, for my case - I just access to \xampp\apache\conf\extra\httpd-default.conf to set "ServerTokens Prod" and "ServerSignature Off". hope this helps! thank you

like image 180
user3239050 Avatar answered Jan 19 '26 19:01

user3239050



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!