{"id":160,"date":"2016-02-01T14:38:06","date_gmt":"2016-02-01T14:38:06","guid":{"rendered":"http:\/\/memo.xtranet.info\/?p=160"},"modified":"2017-11-28T18:36:23","modified_gmt":"2017-11-28T17:36:23","slug":"securiser-son-apache","status":"publish","type":"post","link":"https:\/\/memo.xtranet.info\/?p=160","title":{"rendered":"S\u00e9curiser son Apache"},"content":{"rendered":"<p>Comment s\u00e9curiser son <span style=\"color: #99cc00;\"><strong>Apache<\/strong><\/span> ?<\/p>\n<ul>\n<li>Editer et remplacer dans : nano \/etc\/apache2\/conf-available\/security.conf<\/li>\n<\/ul>\n<p><span style=\"color: #99cc00;\"><em>&#8230;<\/em><\/span><br \/>\n<span style=\"color: #99cc00;\"><em>ServerTokens Prod<\/em><\/span><br \/>\n<span style=\"color: #99cc00;\"><em>&#8230;<\/em><\/span><br \/>\n<span style=\"color: #99cc00;\"><em>ServerSignature Off<\/em><\/span><br \/>\n<span style=\"color: #99cc00;\"><em>&#8230;<\/em><\/span><\/p>\n<ul>\n<li>Dans le fichier \/etc\/php5\/apache2\/php.ini, modifiez les options suivantes comme suit:\n<ul>\n<li>Mettre sur Off : expose_php off<\/li>\n<\/ul>\n<\/li>\n<li>Installer <span style=\"color: #99cc00;\">mod-security<\/span> et <span style=\"color: #99cc00;\">libapache2-mod-evasive<\/span> :\n<ul>\n<li>apt-get install<span style=\"color: #99cc00;\"> libapache2-mod-security2<\/span><\/li>\n<li>apt-get install <span style=\"color: #99cc00;\">libapache2-mod-evasive<\/span><\/li>\n<\/ul>\n<\/li>\n<li>Installer la protection Anti DDOS\n<ul>\n<li>Modifier : nano \/etc\/apache2\/apache2.conf\n<ul>\n<li>MaxClients 150<br \/>\nKeepAlive On<br \/>\nMaxKeepAliveRequests 100<br \/>\nKeepAliveTimeout 10<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Comment s\u00e9curiser son Apache ? Editer et remplacer dans : nano \/etc\/apache2\/conf-available\/security.conf &#8230; ServerTokens Prod &#8230; ServerSignature Off &#8230; Dans le fichier \/etc\/php5\/apache2\/php.ini, modifiez les options suivantes comme suit: Mettre sur Off : expose_php off Installer mod-security et libapache2-mod-evasive : apt-get install libapache2-mod-security2 apt-get install libapache2-mod-evasive Installer la protection Anti DDOS Modifier : nano \/etc\/apache2\/apache2.conf&#8230; <a href=\"https:\/\/memo.xtranet.info\/?p=160\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">S\u00e9curiser son Apache<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,23,4],"tags":[],"class_list":["post-160","post","type-post","status-publish","format-standard","hentry","category-administration","category-apache","category-linux"],"_links":{"self":[{"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/posts\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=160"}],"version-history":[{"count":4,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/posts\/160\/revisions"}],"predecessor-version":[{"id":593,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=\/wp\/v2\/posts\/160\/revisions\/593"}],"wp:attachment":[{"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/memo.xtranet.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}