2016-10-15 19:57:54 +02:00
<!DOCTYPE html>
< html lang = "fr" dir = "ltr" >
< head >
< meta http-equiv = "content-type" content = "text/html; charset=UTF-8" >
< meta charset = "utf-8" / >
2017-02-07 17:35:26 +01:00
< title > documentation:2.0:configapache< / title > <!-- //if:usedebianlibs
< link rel = "stylesheet" type = "text/css" href = "/javascript/bootstrap/css/bootstrap.min.css" / >
//elsif:useexternallibs
< link rel = "stylesheet" type = "text/css" href = "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" > < / script >
//elsif:cssminified
< link rel = "stylesheet" type = "text/css" href = "/static/bwr/bootstrap/dist/css/bootstrap.min.css" / >
//else --><!-- //endif -->
2016-10-15 19:57:54 +02:00
< meta name = "generator" content = "DokuWiki" / >
2017-02-22 13:41:23 +01:00
< meta name = "robots" content = "index,follow" / >
2016-10-15 19:57:54 +02:00
< meta name = "keywords" content = "documentation,2.0,configapache" / >
< link rel = "search" type = "application/opensearchdescription+xml" href = "lib/exe/opensearch.html" title = "LemonLDAP::NG" / >
< link rel = "start" href = "configapache.html" / >
< link rel = "contents" href = "configapache.html" title = "Sitemap" / >
< link rel = "stylesheet" type = "text/css" href = "lib/exe/css.php.t.bootstrap3.css" / >
2017-02-07 17:35:26 +01:00
< link rel = "stylesheet" type = "text/css" href = "/static/bwr/bootstrap/dist/css/bootstrap.css" / >
2016-10-15 19:57:54 +02:00
< script type = "text/javascript" > / * < ! [ C D A T A [ * / v a r N S = ' d o c u m e n t a t i o n : 2 . 0 ' ; v a r J S I N F O = { " i d " : " d o c u m e n t a t i o n : 2 . 0 : c o n f i g a p a c h e " , " n a m e s p a c e " : " d o c u m e n t a t i o n : 2 . 0 " } ;
/*!]]>*/< / script >
2017-02-07 17:35:26 +01:00
< script type = "text/javascript" charset = "utf-8" src = "lib/exe/js.php.t.bootstrap3.js" > < / script > <!-- //if:usedebianlibs
< script type = "text/javascript" src = "/javascript/jquery/jquery.min.js" > < / script >
//elsif:useexternallibs
< script type = "text/javascript" src = "http://code.jquery.com/jquery-2.2.0.min.js" > < / script >
//elsif:jsminified
< script type = "text/javascript" src = "/static/bwr/jquery/dist/jquery.min.js" > < / script >
//else -->
< script type = "text/javascript" src = "/static/bwr/jquery/dist/jquery.js" > < / script > <!-- //endif --> <!-- //if:usedebianlibs
< script type = "text/javascript" src = "/javascript/jquery-ui/jquery-ui.min.js" > < / script >
//elsif:useexternallibs
< script type = "text/javascript" src = "http://code.jquery.com/ui/1.10.4/jquery-ui.min.js" > < / script >
//elsif:jsminified
< script type = "text/javascript" src = "/lib/scripts/jquery-ui.min.js" > < / script >
//else -->
< script type = "text/javascript" src = "/lib/scripts/jquery-ui.js" > < / script > <!-- //endif -->
2016-10-15 19:57:54 +02:00
< / head >
< body >
< div class = "dokuwiki export container" >
< h1 class = "sectionedit1" id = "deploy_apache_configuration" > Deployer la configuration Apache< / h1 >
< div class = "level1" >
< div class = "noteclassic" > Cette étape est effectuée automatiquement lorsqu'on installe < abbr title = "LemonLDAP::NG" > LL::NG< / abbr > avec les packages.
< / div >
2017-02-07 17:35:26 +01:00
< / div > <!-- EDIT1 SECTION "Deploy Apache configuration" [1 - 131] -->
2016-10-15 19:57:54 +02:00
< h2 class = "sectionedit2" id = "files" > Fichiers< / h2 >
< div class = "level2" >
2017-02-07 17:35:26 +01:00
< div class = "noteimportant" > Apache-ModPerl is no longer usable since version 2.4 < em > (many segfaults,…)< / em > . No problem for portal and manager since they are now handle by FastCGI.
2016-10-15 19:57:54 +02:00
2017-02-07 17:35:26 +01:00
< p >
< strong > But for handlers, please use < a href = "confignginx.html" class = "wikilink1" title = "documentation:2.0:confignginx" > Nginx< / a > !< / strong >
< / p >
< / div >
2016-10-15 19:57:54 +02:00
< p >
Depuis une installation par les sources, les fichiers de configuration d'Apache se trouvent dans < code > /usr/local/lemonldap-ng/etc/< / code > , sinon, ils sont dans < code > /etc/lemonldap-ng< / code > .
< / p >
< p >
Il faut les inclure dans la configuration d'Apache, par exemple :
< / p >
< pre class = "code file apache" > < span class = "kw1" > include< / span > /usr/local/lemonldap-ng/etc/portal-apache2.conf
< span class = "kw1" > include< / span > /usr/local/lemonldap-ng/etc/handler-apache2.conf
< span class = "kw1" > include< / span > /usr/local/lemonldap-ng/etc/manager-apache2.conf
< span class = "kw1" > include< / span > /usr/local/lemonldap-ng/etc/test-apache2.conf< / pre >
< div class = "notetip" > < ul >
< li class = "level1" > < div class = "li" > On peut aussi utiliser des liens symboliques dans le répertiore < code > conf.d< / code > ou < code > sites-available< / code > d'Apache.< / div >
< / li >
< li class = "level1" > < div class = "li" > Pour la commande d'installation Debian/Ubuntu, utiliser simplement :< / div >
< / li >
< / ul >
< pre class = "code" > a2ensite manager-apache2.conf
a2ensite portal-apache2.conf
a2ensite handler-apache2.conf
a2ensite test-apache2.conf< / pre >
< / div >
2017-02-07 17:35:26 +01:00
< / div > <!-- EDIT2 SECTION "Files" [132 - 1156] -->
2016-10-15 19:57:54 +02:00
< h2 class = "sectionedit3" id = "modules" > Modules< / h2 >
< div class = "level2" >
< p >
Il faut également charger quelques modules Apache :
< / p >
< ul >
< li class = "level1" > < div class = "li" > mod_rewrite< / div >
< / li >
< li class = "level1" > < div class = "li" > mod_perl< / div >
< / li >
< li class = "level1" > < div class = "li" > mod_alias< / div >
< / li >
< li class = "level1" > < div class = "li" > mod_fcgid< / div >
< / li >
< / ul >
< div class = "notetip" > Avec Debian/Ubuntu:
< pre class = "code" > a2enmod fcgid perl alias rewrite< / pre >
< / div >
2017-02-07 17:35:26 +01:00
< / div > <!-- EDIT3 SECTION "Modules" [1157 - ] -->
2016-10-15 19:57:54 +02:00
< / div >
< / body >
< / html >