Browse Source

Merge branch '1.10.x' of https://github.com/chamilo/chamilo-lms into 1.10.x

Angel Fernando Quiroz Campos 9 years ago
parent
commit
69b6a0c6c3

+ 6 - 0
documentation/installation_guide.html

@@ -687,6 +687,12 @@ If you have issues with files taking a long time to download, make sure you reco
     break;
   }
 
+  location / {
+    rewrite ^/courses/([^/]+)/$ /main/course_home/course_home.php?cDir=$1 last;
+    rewrite ^/courses/([^/]+)/index.php$ main/course_home/course_home.php?cDir=$1 last;
+    try_files $uri @rewrite;
+  }
+
   location ~ \.php$ {
     client_max_body_size 20M;
     try_files $uri /index.php$is_args$args;

+ 6 - 0
documentation/installation_guide_es_ES.html

@@ -688,6 +688,12 @@ por ejemplo. El efecto debería ser inmediato.
     break;
   }
 
+  location / {
+    rewrite ^/courses/([^/]+)/$ /main/course_home/course_home.php?cDir=$1 last;
+    rewrite ^/courses/([^/]+)/index.php$ main/course_home/course_home.php?cDir=$1 last;
+    try_files $uri @rewrite;
+  }
+
   location ~ \.php$ {
     client_max_body_size 20M;
     try_files $uri /index.php$is_args$args;

+ 6 - 0
documentation/installation_guide_fr_FR.html

@@ -754,6 +754,12 @@ Ce sont uniquement les redirections à placer dans un bloc server{}, comme les a
     break;
   }
 
+  location / {
+    rewrite ^/courses/([^/]+)/$ /main/course_home/course_home.php?cDir=$1 last;
+    rewrite ^/courses/([^/]+)/index.php$ main/course_home/course_home.php?cDir=$1 last;
+    try_files $uri @rewrite;
+  }
+
   location ~ \.php$ {
     client_max_body_size 20M;
     try_files $uri /index.php$is_args$args;