Jump to ContentJump to Navigation/Login
` ` ` ` ` `

[Register]

Occasional ATutor release updates


No Members Logged In

(4 guests in past 15 min.)

Access Understanding Web Accessibility to learn about accessibility, or Register to take the course for FREE.

Support Forums

ATutor Support

Supporting the "Protected Content Directory" Feature


You must be signed-in to post.

AuthorSubject
  Page: 1
BlaveFlopata
Subject: Supporting the "Protected Content Directory" FeatureQuote this post in your reply
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.
Posted: 2010-09-03 10:59:28
greg

Avatar for greg
Subject: Re: Supporting theQuote this post in your reply
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.
Posted: 2010-09-07 13:00:59
 Page: 1

You must be signed-in to post.