Update install guide to add Directory block - refs #1463

pull/2487/head
Yannick Warnier 8 years ago
parent 1de2a4ffdd
commit 9599bdcc48
  1. 11
      documentation/installation_guide.html
  2. 11
      documentation/installation_guide_es_ES.html
  3. 15
      documentation/installation_guide_fr_FR.html

@ -112,13 +112,18 @@ only a specific database. Please refer to the MySQL or MariaDB documentation in
<li>Enable the "rewrite" module in Apache (on the command line, run "<i>sudo a2enmod rewrite</i>")</li>
<li>Configure the Apache's VirtualHost for your Chamilo to include the following block, which will allow .htaccess files within Chamilo to be interpreted</li>
</ul>
For Apache <=2.2:
For Apache <=2.2 (where /var/www/chamilo should be replaced by the path to your Chamilo install):
<pre>
&lt;Directory /&gt;
AllowOverride All
Order allow,deny
allow from all
&lt;/Directory&gt;
&lt;Directory /var/www/chamilo/&gt;
AllowOverride All
Order allow,deny
allow from all
&lt;/Directory&gt;
</pre>
and for Apache >=2.4:
<pre>
@ -126,6 +131,10 @@ only a specific database. Please refer to the MySQL or MariaDB documentation in
AllowOverride All
Require all granted
&lt;/Directory&gt;
&lt;Directory /var/www/chamilo/&gt;
AllowOverride All
Require all granted
&lt;/Directory&gt;
</pre>
<br />
Once configured (and maybe this has already been done by your hosting provider), you can simply restart the web server to enable the change.

@ -126,13 +126,18 @@ Nota:Esto se ha simplificado en gran medida desde la versión 1.9, ya que antes
<li>Activar el módulo "rewrite" de Apache (en línea de comando con "<i>sudo a2enmod rewrite</i>")</li>
<li>Configurar el VirtualHost de Apache para que incluya el bloque siguiente, autorizando la interpretación de los archivos .htaccess</li>
</ul>
Para Apache <=2.2:
Para Apache <=2.2 (remplace /var/www/chamilo/ por la ruta de su carpeta Chamilo en el servidor):
<pre>
&lt;Directory /&gt;
AllowOverride All
Order allow,deny
allow from all
&lt;/Directory&gt;
&lt;Directory /var/www/chamilo/&gt;
AllowOverride All
Order allow,deny
allow from all
&lt;/Directory&gt;
</pre>
y para Apache >=2.4:
<pre>
@ -140,6 +145,10 @@ Nota:Esto se ha simplificado en gran medida desde la versión 1.9, ya que antes
AllowOverride All
Require all granted
&lt;/Directory&gt;
&lt;Directory /var/www/chamilo/&gt;
AllowOverride All
Require all granted
&lt;/Directory&gt;
</pre>
<br />
Una vez configurada esta parte (que quizás ya esté configurada por su proveedor), basta con reiniciar el servidor web para activar el cambio.

@ -145,20 +145,29 @@
<li>Activer le module "rewrite" d'Apache (en ligne de commande, faites simplement un "<i>sudo a2enmod rewrite</i>")</li>
<li>Configurer le VirtualHost d'Apache pour qu'il inclue le bloc suivant, ce qui permettra l'interprétation des fichiers .htaccess</li>
</ul>
Pour Apache <=2.2:
Pour Apache <=2.2 (remplacez /var/www/chamilo par le chemin vers votre répertoire de Chamilo):
<pre>
&lt;Directory /&gt;
AllowOverride All
Order allow,deny
allow from all
&lt;/Directory&gt;
&lt;Directory /var/www/chamilo/&gt;
AllowOverride All
Order allow,deny
allow from all
&lt;/Directory&gt;
</pre>
et pour Apache >=2.4:
<pre>
et pour Apache >=2.4:
<pre>
&lt;Directory /&gt;
AllowOverride All
Require all granted
&lt;/Directory&gt;
&lt;Directory /var/www/chamilo/&gt;
AllowOverride All
Require all granted
&lt;/Directory&gt;
</pre>
<br />
Une fois configurée cette partie (qui est peut-être déjà mise en place par votre fournisseur d'hébergement), il suffit de redémarrer le serveur web pour activer la modification.

Loading…
Cancel
Save