{"id":861,"date":"2011-09-16T10:02:30","date_gmt":"2011-09-16T10:02:30","guid":{"rendered":"http:\/\/www.dotmana.com\/weblog\/2011\/09\/configuration-php-specifique-pour-un-repertoire-avec-suexec-active\/"},"modified":"2011-09-16T10:02:29","modified_gmt":"2011-09-16T10:02:29","slug":"configuration-php-specifique-pour-un-repertoire-avec-suexec-active","status":"publish","type":"post","link":"http:\/\/www.dotmana.com\/weblog\/2011\/09\/configuration-php-specifique-pour-un-repertoire-avec-suexec-active\/","title":{"rendered":"Configuration PHP sp\u00e9cifique pour un r\u00e9pertoire avec Suexec activ\u00e9"},"content":{"rendered":"<p>Cette astuce ne fonctionne qu&#8217;en mode suphp avec suexec activ\u00e9.<br \/>Test\u00e9 avec un panel de type ISPConfig.<\/p>\n<p><b>Dans le r\u00e9pertoire<\/b> o\u00f9 vous souhaitez appliquer une directive PHP diff\u00e9rente de la configuration classique : <\/p>\n<ul>\n<li>cr\u00e9er un fichier .htaccess avec comme contenu<\/li>\n<\/ul>\n<blockquote><p><i>suPHP_ConfigPath \/var\/www\/domain.tld\/<\/i>web\/subdirectory\/<\/p><\/blockquote>\n<ul>\n<li>cr\u00e9er un fichier php.ini avec comme contenu<\/li>\n<\/ul>\n<blockquote><p>magic_quotes_gpc = on<\/p><\/blockquote>\n<p>(remplacer magic_quotes_gpc par la directive de votre choix)<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cette astuce ne fonctionne qu&#8217;en mode suphp avec suexec activ\u00e9.Test\u00e9 avec un panel de type ISPConfig. Dans le r\u00e9pertoire o\u00f9 vous souhaitez appliquer une directive PHP diff\u00e9rente de la configuration classique : cr\u00e9er un fichier .htaccess avec comme contenu suPHP_ConfigPath &hellip; <a href=\"http:\/\/www.dotmana.com\/weblog\/2011\/09\/configuration-php-specifique-pour-un-repertoire-avec-suexec-active\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/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":[3,14],"tags":[],"class_list":["post-861","post","type-post","status-publish","format-standard","hentry","category-ubuntu","category-work"],"_links":{"self":[{"href":"http:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/posts\/861","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/comments?post=861"}],"version-history":[{"count":1,"href":"http:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/posts\/861\/revisions"}],"predecessor-version":[{"id":862,"href":"http:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/posts\/861\/revisions\/862"}],"wp:attachment":[{"href":"http:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/media?parent=861"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/categories?post=861"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.dotmana.com\/weblog\/wp-json\/wp\/v2\/tags?post=861"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}