########################################################################################### #change this file to fit your configuration and save it as .htaccess in the courses folder# ########################################################################################### #dokeos mod rewrite #comment lines start with # and are not processed <IfModule mod_rewrite.c> RewriteEngine On #rewrite base is the dir dokeos is installed in with trailing slash RewriteBase [[relativeurl]]/courses/ #do not rewrite on the main dir #change this path to the path of your main folder RewriteCond %{REQUEST_URI} !^[[relativeurl]]/main/ #replace nasty ampersands by 3 slashes, we change these back in download.php RewriteRule ([^/]+)/document/(.*)&(.*)$ $1/document/$2///$3 [N] #rewrite everything in the document folder of a course to the download script RewriteRule ([^/]+)/document/(.*)$ [[relativeurl]]/main/document/download.php?doc_url=/$2&cDir=$1 [QSA,L] </IfModule>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
images | Folder | 0755 |
|
|
php53 | Folder | 0755 |
|
|
php56 | Folder | 0755 |
|
|
php71 | Folder | 0755 |
|
|
.htaccess | File | 986 B | 0644 |
|
add_course.conf.php | File | 453 B | 0644 |
|
configuration.php | File | 6.03 KB | 0644 |
|
course_info.conf.php | File | 2.24 KB | 0644 |
|
edit.php | File | 4.82 KB | 0644 |
|
edit.xml | File | 433 B | 0644 |
|
fileindex.php | File | 352 B | 0644 |
|
import.php | File | 3.17 KB | 0644 |
|
info.xml | File | 2.82 KB | 0644 |
|
install.js | File | 924 B | 0644 |
|
install.php | File | 6.39 KB | 0644 |
|
install.xml | File | 2 KB | 0644 |
|
mail.conf.php | File | 843 B | 0644 |
|
md5 | File | 3 KB | 0644 |
|
notes.txt | File | 521 B | 0644 |
|
profile.conf.php | File | 1.48 KB | 0644 |
|