Morten’s Blog


The random musings of Morten André Steinsland

Ubuntu, Apache, Drupal & private filesystem

Posted by Morten André on July 24, 2007 at 01:54. In the Tutorials category.
Tags : , ,

I’m certain there are other, and probably better ways to do this. But this is what worked for me.

Download, extract, upload and install Drupal according to the installation instructions. Then, login to your server, and create a folder for Drupal to use. For example:

mkdir /media/mydisk/drupalfilesystem

Then you need to make that folder writable by the Apache server. I did this by entering the command:

chown -R www-data:www-data /media/mydisk/drupalfilesystem

Now you must login with your administrator account to configure Drupal. Login, and choose:

Administer > Site Configuration > File System

Enter the path to the folder you made in the File system path textfield, in this case we enter:

/media/mydisk/drupalfilesystem

Set the Download method to “Private” and, if all goes well, you are good to go.

Leave a comment

(required)
(required)

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WordPress
Theme by Morten Andrè Steinsland
66 queries. 0.159 seconds.