Hallo!
Ich bin gerade dabei ein ELearning-Projekt für meine Schule mit Dokeos zu erstellen. Jetzt werden für einige Bereich .htaccess - Dateien angelegt. So wie’s ausschaut mögt ihr das aber nicht…
Wäre es möglich, das freizuschalten? Immerhin geht es hier um BILDUNG!
Das ist gut zu wissen! Also der Inhalt ist dieser:
[quote]########################################################################################### #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
RewriteEngine On
Options +FollowSymlinks
#rewrite base is the dir dokeos is installed in with trailing slash
RewriteBase /courses/
#do not rewrite on the main dir #change this path to the path of your main folder
RewriteCond %{REQUEST_URI} !^’.$urlAppendPath.’/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/(.*)$ /main/document/download.php?doc_url=/$2&cDir=$1 [QSA,L]
[/quote]
Das verursacht den Fehler, bitte auskommentieren/entfernen. :wink:
[code]RewriteCond %{REQUEST_URI} !^'.$urlAppendPath.'/main/[/code]
Das sieht mir außerdem falsch aus. oO
Das verursacht den Fehler, bitte auskommentieren/entfernen.