Server IP : 103.53.40.154 / Your IP : 3.147.48.105 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /var/softaculous/firefly/../eccube/../drupal6/../myweb/../moodle28/../dokeos/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
########################################################################################### #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>