{"id":37,"date":"2010-12-14T17:23:38","date_gmt":"2010-12-14T22:23:38","guid":{"rendered":"http:\/\/mtecheasy.wordpress.com\/?p=37"},"modified":"2010-12-14T17:23:38","modified_gmt":"2010-12-14T22:23:38","slug":"hide-apache-and-php-signature-information","status":"publish","type":"post","link":"https:\/\/bourbonnaisservices.com\/blog\/2010\/12\/hide-apache-and-php-signature-information\/","title":{"rendered":"Hide Apache and PHP signature information"},"content":{"rendered":"<p>Apache Version 2.2, Ubuntu Server 9.04<\/p>\n<p>Files to edit:<br \/>\n\/etc\/php5\/apache2\/php.ini<br \/>\n\/etc\/apache2\/conf.d\/security<\/p>\n<p>When you access a page on your server that doesn&#8217;t exit, you get the following possible signature by default:<br \/>\n&#8211; <em>Apache\/2.2.11 (Ubuntu) PHP\/5.2.6-3ubuntu4.6 with Suhosin-Patch Server at 192.168.100.158 Port 80<\/em><\/p>\n<p>To remove the PHP Signature, open php.ini and find expose_php = On, and change it to Off.<br \/>\n&#8211; <em>Apache\/2.2.11 (Ubuntu) Server at 192.168.100.158 Port 80<\/em><\/p>\n<p>To remove the Apache version number, OS name, open the security file and change the ServerTokens Full to ServerTokens Prod.<br \/>\n&#8211;<em> Apache Server at 192.168.100.158 Port 80<\/em><\/p>\n<p>If you don&#8217;t want any information displayed, open the security file once more and change the ServerSignature On to ServerSignature Off.<\/p>\n<p>For more information on the various options available visit:<br \/>\n&#8211; <a title=\"http:\/\/httpd.apache.org\/docs\/current\/mod\/core.html#serversignature\" href=\"http:\/\/httpd.apache.org\/docs\/current\/mod\/core.html#serversignature\" target=\"_blank\">http:\/\/httpd.apache.org\/docs\/current\/mod\/core.html#serversignature<\/a><br \/>\n&#8211; <a title=\"http:\/\/httpd.apache.org\/docs\/current\/mod\/core.html#servertokens\" href=\"http:\/\/httpd.apache.org\/docs\/current\/mod\/core.html#servertokens\" target=\"_blank\">http:\/\/httpd.apache.org\/docs\/current\/mod\/core.html#servertokens<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache Version 2.2, Ubuntu Server 9.04 Files to edit: \/etc\/php5\/apache2\/php.ini \/etc\/apache2\/conf.d\/security When you access a page on your server that doesn&#8217;t exit, you get the following possible signature by default: &#8211; Apache\/2.2.11 (Ubuntu) PHP\/5.2.6-3ubuntu4.6 with Suhosin-Patch Server at 192.168.100.158 Port 80 To remove the PHP Signature, open php.ini and find expose_php = On, and change [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2,12],"tags":[],"_links":{"self":[{"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/posts\/37"}],"collection":[{"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":0,"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"wp:attachment":[{"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bourbonnaisservices.com\/blog\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}