79 lines
3.0 KiB
HTML
79 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" dir="ltr">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>documentation:2.0:configapache</title>
|
|
<meta name="generator" content="DokuWiki"/>
|
|
<meta name="robots" content="index,follow"/>
|
|
<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"/>
|
|
<link rel="stylesheet" type="text/css" href="/static/bwr/bootstrap/dist/css/bootstrap.min.css"/>
|
|
<script type="text/javascript">/*<![CDATA[*/var NS='documentation:2.0';var JSINFO = {"id":"documentation:2.0:configapache","namespace":"documentation:2.0"};
|
|
/*!]]>*/</script>
|
|
<script type="text/javascript" charset="utf-8" src="lib/exe/js.php.t.bootstrap3.js"></script>
|
|
</head>
|
|
<body>
|
|
<div class="dokuwiki export container">
|
|
|
|
<h1 class="sectionedit1" id="deploy_apache_configuration">Deploy Apache configuration</h1>
|
|
<div class="level1">
|
|
<div class="noteclassic">This step should already have been if you installed <abbr title="LemonLDAP::NG">LL::NG</abbr> with packages.
|
|
</div>
|
|
</div>
|
|
<!-- EDIT1 SECTION "Deploy Apache configuration" [1-130] -->
|
|
<h2 class="sectionedit2" id="files">Files</h2>
|
|
<div class="level2">
|
|
|
|
<p>
|
|
With tarball installation, Apache configuration files will be installed in <code>/usr/local/lemonldap-ng/etc/</code>, else they are in <code>/etc/lemonldap-ng</code>.
|
|
</p>
|
|
|
|
<p>
|
|
You have to include them in Apache main configuration, for example:
|
|
</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"> You can also use symbolic links in <code>conf.d</code> or <code>sites-available</code> Apache directory.</div>
|
|
</li>
|
|
<li class="level1"><div class="li"> If you have run the Debian/Ubuntu install command, just use:</div>
|
|
</li>
|
|
</ul>
|
|
<pre class="code">a2ensite manager-apache2.conf
|
|
a2ensite portal-apache2.conf
|
|
a2ensite handler-apache2.conf
|
|
a2ensite test-apache2.conf</pre>
|
|
|
|
</div>
|
|
</div>
|
|
<!-- EDIT2 SECTION "Files" [131-922] -->
|
|
<h2 class="sectionedit3" id="modules">Modules</h2>
|
|
<div class="level2">
|
|
|
|
<p>
|
|
You will also need to load some Apache modules:
|
|
</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">With Debian/Ubuntu:
|
|
<pre class="code">a2enmod fcgid perl alias rewrite</pre>
|
|
|
|
</div>
|
|
</div>
|
|
<!-- EDIT3 SECTION "Modules" [923-] --></div>
|
|
</body>
|
|
</html>
|