Dokeos ErrorThe requested URL /dokeos/main/document/download.php was not found on this server.

 

 

Gambar

Ganti

 

ganti httaccess di

/htdocs/doekos/courses

dari

###########################################################################################
#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 /aka/courses/

#do not rewrite on the main dir
#change this path to the path of your main folder
RewriteCond %{REQUEST_URI} !^/aka/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/(.*)$ /aka/main/document/download.php?doc_url=/$2&cDir=$1 [QSA,L]
</IfModule>

jadi

###########################################################################################
#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 /courses

#do not rewrite on the main dir
#change this path to the path of your main folder
RewriteCond %{REQUEST_URI} !^/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]
</IfModule>

 

sumber

http://pix-mania.dyndns.org/mediawiki/index.php/Dokeos

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s