Explorar el Código

Adding an exception for "scorm_api.php"

Julio Montoya hace 11 años
padre
commit
fc881c268f
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      .htaccess
  2. 1 0
      htaccess-dist

+ 1 - 0
.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

+ 1 - 0
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