From e7b4fcae5900cc928906d0b91f05cfb9338be5b8 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 13 Mar 2013 01:03:43 -0500 Subject: [PATCH] Reversed change in redirect and added information to installation_guide.html - refs #6027 --- documentation/installation_guide.html | 14 +++++++++++++- index.php | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/documentation/installation_guide.html b/documentation/installation_guide.html index 86597700f6..a43c322d5a 100644 --- a/documentation/installation_guide.html +++ b/documentation/installation_guide.html @@ -110,7 +110,19 @@ single-database mode.

2. Installation of Chamilo LMS

- +

Configuring your web server to allow rewrites

+If you are using Apache, and due to new friendly URL features added in 1.10, you will be required to AllowOverride All (and possibly install the ModRewrite extension for Apache). This means that, inside your Apache configuration (or your VirtualHost configuration), you will need to have a block similar to this (the directory given is the same as in the DocumentRoot directive): +
+  <Directory /var/www/chamilo>
+    Options Indexes FollowSymLinks MultiViews
+    AllowOverride All
+    Order allow,deny
+    allow from all
+  </Directory>
+
+In particular, the "AllowOverride All" clause is the one that matters. This will allow PHP to send the user from one page to another freely, thus allowing for a more user-friendly experience.
+Once you've made sure "AllowOverride" says "All", you can safely save the file, get out of it and reload the web server (sudo service apache2 reload under Debian/Ubuntu, or click right on the WAMP/XAMP/EasyPHP icon and "reload web server" under Windows). +

Downloading and installing Chamilo

  1. Download Chamilo LMS
  2. Unzip it
  3. diff --git a/index.php b/index.php index f43bc39d44..059d0d2da2 100644 --- a/index.php +++ b/index.php @@ -6,7 +6,7 @@ */ //Temporal hack to redirect calls to the new web/index.php -header('Location: web/index.php'); +header('Location: web/index'); exit; define('CHAMILO_HOMEPAGE', true);