From 7eff7b8c25acfcb0b919d16a1cf0de78a9a9326f Mon Sep 17 00:00:00 2001 From: Nicolas Ducoulombier Date: Fri, 11 Dec 2015 17:45:31 +0100 Subject: [PATCH] fix course access with no final '/' in URL -refs CT#7976 --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 36d5c5bfb1..fd62a99e62 100644 --- a/.htaccess +++ b/.htaccess @@ -16,7 +16,7 @@ RewriteRule ^certificates/$ certificates/index.php?id=%1 [L] RewriteRule ^([^/.]+)/?$ user.php?$1 [L] # Course redirection -RewriteRule ^courses/([^/]+)/$ main/course_home/course_home.php?cDir=$1 [QSA,L] +RewriteRule ^courses/([^/]+)/?$ main/course_home/course_home.php?cDir=$1 [QSA,L] RewriteRule ^courses/([^/]+)/index.php$ main/course_home/course_home.php?cDir=$1 [QSA,L] # Rewrite everything in the scorm folder of a course to the download script