Php hide/remove X-Powered-By HTTP header

By On Saturday, April 9th, 2016 Categories : Artikel
Gratis Samsung
Inspecting HTTP traffic at layer 7 on a fresh http/php web server yelds some interesting results: A php header that exposes the php version.
Here is http traffic as seen on the network with tcpdump:

Code:
Server: nginx
Date: Fri, 16 Jan 2015 00:11:49 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/5.5.20
Cache-Control: private, no-cache=”set-cookie”
Expires: 0
Pragma: no-cache
Content-Encoding: gzip

How to configure php from exposing “X-Powered-By” header:. Edit php.ini and change following value:

Code:
expose_php = off
Dirty Little Virgin: A Submissives' Secrets Novel, The Golden Valkyrie (Sedikhan, #2), Angels in America, Part Two: Perestroika, The Breaker Volume 10, Perry Rhodan 63: Die Mikro-Techniker (Perry Rhodan - Heftromane, #63), Safir, Wild Ride (Wind Dragons MC, #4.5), Irresistible: The Rise of Addictive Technology and the Business of Keeping Us Hooked, The Crown of Ptolemy (Percy Jackson & Kane Chronicles Crossover #3), Flora and Ulysses: The Illuminated Adventures, Diamondhead (Mack Bedford, #1), Anno's Journey, Watership Down (Watership Down #1), A Cold Day For Murder (Kate Shugak, #1), Anton's Mate (Secret Shifters of Spokane Book 4), Wrecking Ball (Hard to Love, #1), Liar, Waking Gods (Themis Files #2), Paintball Tips For Beginners - Essential Facts About Paintball, Lady Sings the Blues