ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Supporting the Protected Content Directory Feature


  • 2010-09-03 10:59:28

    Supporting the Protected Content Directory Feature

    I'm attempting to install ATutor 2.0 on an OS X Server 10.6.4 system. I'm using PHP 5.3.1, MySQL 5.0.88, Apache 2.2.14, and have tried both Safari and Firefox as the browsers (I assume that doesn't matter).

    The installation Steps 1-4 seem to work just fine, and the system is setup nicely. However, when I get to the Content Directory section, I get this error:

    It has been detected that your webserver does not support the protected content directory feature. The content directory stores all of the courses' files.
    Due to that restriction your content directory must exist within your ATutor installation directory and cannot be moved. Its path is specified below. Please create it if it does not already exist.

    In searching the forums, the only issue I've found is when there's a symlink in the path. However, in my case, there are no symlinks. getcwd() returns the expected paths without issue. For example, the top-level installation shows:

    colo:ATutor root# php -r 'echo getcwd() . "\n";'
    /Volumes/DataStore/Cloud/ATutor

    And similar results are returned for the target directory I'm trying to store things in:

    colo:ATutor-Secure root# php -r 'echo getcwd() . "\n";'
    /Volumes/DataStore/Cloud/ATutor-Secure

    With that in mind, a couple of questions:

    1. Is there a specific feature in or module in apache that I need to turn on to get protected content to work?

    2. Is there an after-installation configuration file I can modify to fix this? I tried simply changing the entry in the config.inc.php file, but that didn't seem to Do The Right Thing.

    Any guidance you can provide would be most appreciated.

  • 2010-09-07 13:00:59

    Re: Supporting the

    Are you using https?

    Have a look in the step5.php file of the installer. The test is at line 184 or so, where it runs the get.php file, and the test at the top of that file that sets the ATutor-Get header. If you want to investigate, and if you can come up with a solution, we'll add an adjustment. Otherwise there's not a setting to change this.