Browse Source

[svn r17791] Fixed bugs in courses/.htaccess:
- FollowSymLinks not allowed there
- DOKEOS_URL_APPEND_PATH wrapped in wrong '..' characters

Yannick Warnier 16 years ago
parent
commit
5830d7efb9
1 changed files with 1 additions and 2 deletions
  1. 1 2
      main/install/htaccess.dist

+ 1 - 2
main/install/htaccess.dist

@@ -6,14 +6,13 @@
 
 <IfModule mod_rewrite.c>
 RewriteEngine On
-Options +FollowSymlinks
 
 #rewrite base is the dir dokeos is installed in with trailing slash
 RewriteBase {DOKEOS_URL_APPEND_PATH}/courses/
 
 #do not rewrite on the main dir
 #change this path to the path of your main folder
-RewriteCond %{REQUEST_URI} !^'.{DOKEOS_URL_APPEND_PATH}.'/main/
+RewriteCond %{REQUEST_URI} !^{DOKEOS_URL_APPEND_PATH}/main/
 
 #replace nasty ampersands by 3 slashes, we change these back in download.php
 RewriteRule ([^/]+)/document/(.*)&(.*)$ $1/document/$2///$3 [N]