1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <?xml version="1.0" encoding="UTF-8"?>
- <configuration>
- <system.webServer>
- <rewrite>
- <rules>
- <rule name="rule 1v" stopProcessing="true">
- <match url="^certificates/$" />
- <action type="Rewrite" url="/certificates/index.php?id=%1" />
- </rule>
- <rule name="rule 2v" stopProcessing="true">
- <match url="^courses/([^/]+)/?$" />
- <action type="Rewrite" url="/main/course_home/course_home.php?cDir={R:1}" appendQueryString="true" />
- </rule>
- <rule name="rule 3v" stopProcessing="true">
- <match url="^courses/([^/]+)/index.php$" />
- <action type="Rewrite" url="/main/course_home/course_home.php?cDir={R:1}" appendQueryString="true" />
- </rule>
- <rule name="rule 4v" stopProcessing="true">
- <match url="^courses/([^/]+)/scorm/(.*)$" />
- <action type="Rewrite" url="/main/document/download_scorm.php?doc_url=/{R:2}&cDir={R:1}" appendQueryString="true" />
- </rule>
- <rule name="rule 5v" stopProcessing="true">
- <match url="^courses/([^/]+)/document/certificates/(.*)$" />
- <action type="Rewrite" url="/app/courses/{R:1}/document/certificates/{R:2}" appendQueryString="true" />
- </rule>
- <rule name="rule 6v" stopProcessing="true">
- <match url="^courses/([^/]+)/document/(.*)$" />
- <action type="Rewrite" url="/main/document/download.php?doc_url=/{R:2}&cDir={R:1}" appendQueryString="true" />
- </rule>
- <rule name="rule 7v" stopProcessing="true">
- <match url="^courses/([^/]+)/upload/([^/]+)/(.*)$" />
- <action type="Rewrite" url="/main/document/download_uploaded_files.php?code={R:1}&type={R:2}&file={R:3}" appendQueryString="true" />
- </rule>
- <rule name="rule 8v" stopProcessing="true">
- <match url="^courses/([^/]+)/work/(.*)$" />
- <action type="Rewrite" url="/main/work/download.php?file=work/{R:2}&cDir={R:1}" appendQueryString="true" />
- </rule>
- <rule name="rule 9v" stopProcessing="true">
- <match url="^courses/([^/]+)/course-pic85x85.png$" />
- <action type="Rewrite" url="/main/inc/ajax/course.ajax.php?a=get_course_image&code={R:1}&image=course_image_source" appendQueryString="true" />
- </rule>
- <rule name="rule 10v" stopProcessing="true">
- <match url="^courses/([^/]+)/course-pic.png$" />
- <action type="Rewrite" url="/main/inc/ajax/course.ajax.php?a=get_course_image&code={R:1}&image=course_image_large_source" appendQueryString="true" />
- </rule>
- <rule name="rule 11v" stopProcessing="true">
- <match url="^courses/([^/]+)/(.*)$" />
- <action type="Rewrite" url="/app/courses/{R:1}/{R:2}" appendQueryString="true" />
- </rule>
- <rule name="rule 12v" stopProcessing="true">
- <match url="^session/(\d{1,})/about/?$" />
- <action type="Rewrite" url="/main/session/about.php?session_id={R:1}" />
- </rule>
- <rule name="rule 13v" stopProcessing="true">
- <match url="^badge/(\d{1,})" />
- <action type="Rewrite" url="/main/badge/issued.php?issue={R:1}" />
- </rule>
- <rule name="rule 14v" stopProcessing="true">
- <match url="^skill/(\d{1,})/user/(\d{1,})" />
- <action type="Rewrite" url="/main/badge/issued_all.php?skill={R:1}&user={R:2}" />
- </rule>
- <rule name="rule 15v" stopProcessing="true">
- <match url="^badge/(\d{1,})/user/(\d{1,})" />
- <action type="Rewrite" url="/main/badge/issued_all.php?skill={R:1}&user={R:2}" />
- </rule>
- <rule name="rule 16v" stopProcessing="true">
- <match url="^main/exercice/(.*)$" />
- <action type="Rewrite" url="/main/exercise/{R:1}" appendQueryString="true" />
- </rule>
- <rule name="rule 17v" stopProcessing="true">
- <match url="^main/newscorm/(.*)$" />
- <action type="Rewrite" url="/main/lp/{R:1}" appendQueryString="true" />
- </rule>
- <rule name="rule 18v" stopProcessing="true">
- <match url="^service/(\d{1,})$" />
- <action type="Rewrite" url="/plugin/buycourses/src/service_information.php?service_id={R:1}" />
- </rule>
- <rule name="rule 19v" stopProcessing="true">
- <match url="^([^/.]+)/?$" />
- <action type="Rewrite" url="/user.php?{R:1}" />
- </rule>
- <rule name="rule 20v" stopProcessing="true">
- <match url="^(tests|.git)" ignoreCase="true" />
- <action type="Rewrite" url="/-" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
- </configuration>
|