{"id":37,"date":"2008-08-26T09:24:17","date_gmt":"2008-08-26T07:24:17","guid":{"rendered":"http:\/\/wp1.fredptitgars.net\/index.php\/2008\/08\/26\/config-apache\/"},"modified":"2008-08-26T09:24:17","modified_gmt":"2008-08-26T07:24:17","slug":"config-apache","status":"publish","type":"post","link":"https:\/\/fredptitgars.ovh\/?p=37","title":{"rendered":"Config apache"},"content":{"rendered":"<p>apache est un serveur web<br \/>\n<br \/>l&rsquo;ensemble de la configuration d&rsquo;apache se trouve l\u00e0:<br \/>\n<br \/>\/etc\/apache2<\/p>\n<p>Un premier fichier de config se trouve:<br \/>\n<br \/>\/etc\/apache2\/apache2.conf<\/p>\n<p>Les configurations modifi\u00e9es:<\/p>\n<p><code><br \/>\nServerName fredptigars.homelinux.org<br \/>\nServerTokens Prod<br \/>\n<\/code><\/p>\n<p>Les host virtuel se trouve l\u00e0:<br \/>\n<br \/>\/etc\/apache2\/sites-enabled\/<\/p>\n<p>La configurations des host virtuel<br \/>\n<br \/>Le fichier de config:<br \/>\n<br \/>\/etc\/apache2\/sites-available\/default<\/p>\n<p><code><br \/>\nDocumentRoot \/home\/web\/<\/p>\n<p><Directory \/><br \/>\n                Options Indexes FollowSymLinks MultiViews<br \/>\n                AllowOverride All<br \/>\n                Order allow,deny<br \/>\n                Allow from all<br \/>\n<\/Directory><\/p>\n<p><Directory \/var\/www\/><br \/>\n                Options Indexes FollowSymLinks MultiViews<br \/>\n                AllowOverride None<br \/>\n                Order Deny,Allow<br \/>\n                Deny from all<br \/>\n                Allow from localhost<br \/>\n                Allow from 192.168.0.0\/24<br \/>\n                # This directive allows us to have apache2's default start page<br \/>\n                # in \/apache2-default\/, but still have \/ go to the right place<br \/>\n#                RedirectMatch ^\/$ \/apache2-default\/<br \/>\n                ErrorDocument 403 \"http:\/\/fredptigars.homelinux.org<br \/>\n<\/Directory><\/p>\n<p><\/code><\/p>\n<p>Pour activer des modules il faut faire ajouter un lien dans le repertoire:<br \/>\n\/etc\/apache2\/mods-enabled a partir du repertoire : \/etc\/apache2\/mods-available<br \/>\nLes modules actif:<\/p>\n<p>&#8211; actions.conf<br \/>\n&#8211; actions.load<br \/>\n&#8211; alias.conf<br \/>\n&#8211; alias.load<br \/>\n&#8211; auth_basic.load<br \/>\n&#8211; authn_file.load<br \/>\n&#8211; authz_default.load<br \/>\n&#8211; authz_groupfile.load<br \/>\n&#8211; authz_host.load<br \/>\n&#8211; authz_user.load<br \/>\n&#8211; autoindex.conf<br \/>\n&#8211; autoindex.load<br \/>\n&#8211; cgi.load<br \/>\n&#8211; dir.conf<br \/>\n&#8211; dir.load<br \/>\n&#8211; env.load<br \/>\n&#8211; mime.conf<br \/>\n&#8211; mime.load<br \/>\n&#8211; negotiation.conf<br \/>\n&#8211; negotiation.load<br \/>\n&#8211; php5.conf<br \/>\n&#8211; php5.load<br \/>\n&#8211; rewrite.load<br \/>\n&#8211; setenvif.conf<br \/>\n&#8211; setenvif.load<br \/>\n&#8211; status.conf<br \/>\n&#8211; status.load<\/p>\n","protected":false},"excerpt":{"rendered":"<p>apache est un serveur web l&rsquo;ensemble de la configuration d&rsquo;apache se trouve l\u00e0: \/etc\/apache2 Un premier fichier de config se trouve: \/etc\/apache2\/apache2.conf Les configurations modifi\u00e9es: ServerName fredptigars.homelinux.org ServerTokens Prod Les host virtuel se trouve l\u00e0: \/etc\/apache2\/sites-enabled\/ La configurations des host virtuel Le fichier de config: \/etc\/apache2\/sites-available\/default DocumentRoot \/home\/web\/ Options Indexes FollowSymLinks MultiViews AllowOverride All Order [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-config_pc"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=37"}],"version-history":[{"count":0,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/posts\/37\/revisions"}],"wp:attachment":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}