From fc881c268f473abf25b07b40592ad426d81baaa3 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 2 Jul 2013 12:29:00 +0200 Subject: [PATCH] Adding an exception for "scorm_api.php" --- .htaccess | 1 + htaccess-dist | 1 + 2 files changed, 2 insertions(+) diff --git a/.htaccess b/.htaccess index 671322cf2e..e9a5205c1d 100644 --- a/.htaccess +++ b/.htaccess @@ -16,6 +16,7 @@ RewriteRule ^courses/(.*)/$ web/courses/$1? [R,L] # PHP Main files are redirected to the "web/main" zone + RewriteCond %{REQUEST_URI} !main/newscorm/scorm_api.php RewriteRule ^main/(.*)\.php web/main/$1.php [R,L] # Courses documents diff --git a/htaccess-dist b/htaccess-dist index 671322cf2e..e9a5205c1d 100644 --- a/htaccess-dist +++ b/htaccess-dist @@ -16,6 +16,7 @@ RewriteRule ^courses/(.*)/$ web/courses/$1? [R,L] # PHP Main files are redirected to the "web/main" zone + RewriteCond %{REQUEST_URI} !main/newscorm/scorm_api.php RewriteRule ^main/(.*)\.php web/main/$1.php [R,L] # Courses documents