{"id":1902,"date":"2017-12-13T16:00:11","date_gmt":"2017-12-13T21:00:11","guid":{"rendered":"https:\/\/easy-admin.ca\/?p=1902"},"modified":"2017-12-13T16:03:39","modified_gmt":"2017-12-13T21:03:39","slug":"mod_security-http-error-when-uploading-media-to-wp","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2017\/12\/13\/mod_security-http-error-when-uploading-media-to-wp\/","title":{"rendered":"Mod_Security ~ HTTP Error when uploading media to WP"},"content":{"rendered":"<p>Easy temporary fix here!<\/p>\n<p>If you are running a Centos Server locate this file<\/p>\n<p>\/etc\/httpd\/conf.d\/mod_security.conf<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1903\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/12\/mod_sec_http_error.png\" alt=\"\" width=\"672\" height=\"299\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/12\/mod_sec_http_error.png 672w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/12\/mod_sec_http_error-300x133.png 300w\" sizes=\"auto, (max-width: 672px) 100vw, 672px\" \/><\/p>\n<p>Rename SecRequestBodyAccess On to <span style=\"color: #ff0000;\">SecRequestBodyAccess Off<\/span><\/p>\n<p>Apply configuration to APACHE Server<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1905\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/12\/apply.png\" alt=\"\" width=\"567\" height=\"73\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/12\/apply.png 567w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/12\/apply-300x39.png 300w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/p>\n<p><em><strong>Et voil\u00e0!<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Easy temporary fix here! If you are running a Centos Server locate this file \/etc\/httpd\/conf.d\/mod_security.conf Rename SecRequestBodyAccess On to SecRequestBodyAccess Off Apply configuration to APACHE Server Et voil\u00e0!<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1902","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/1902","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1902"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/1902\/revisions"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}