|
|
|
@ -16,7 +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 |
|
|
|
@ -32,11 +32,6 @@ |
|
|
|
|
RewriteCond %{QUERY_STRING} ^id=([0-9]*) |
|
|
|
|
RewriteRule ^certificates/(.*)$ web/certificates/%1? [R,L] |
|
|
|
|
|
|
|
|
|
# User profile |
|
|
|
|
# Redirection: user.php?jmontoya -> web/user/jmontoya |
|
|
|
|
RewriteCond %{QUERY_STRING} ^([a-z0-9A-z]*) |
|
|
|
|
RewriteRule ^user.php?$ web/user/%1? [R,L] |
|
|
|
|
|
|
|
|
|
# Portal news |
|
|
|
|
# news_list.php?id=5 --> web/news/5 |
|
|
|
|
RewriteCond %{QUERY_STRING} ^id=([0-9]*) |
|
|
|
|