Send private message

You must be logged in to send a private message.

Friends

No friends yet.

Activity

  • H4mish replied on the discussion topic Installation - Data Directory
    Thanks for the help, I can't beleive that I find it so difficult to install. I added a new directory http://mysite.de/media/images. When asked for the Data Directory I entered /media/images and get the error "Your data directory /media/images does... view reply
  • H4mish added a new discussion topic Installation - Data Directory in the group General Discussion
    Hi Everybody, I'm new to elgg and already struggling with the installation. The data directory must be created outside of the document root? If it's outside of the root how can I get the URL for it or does it have to be added to a...
    •  
      the data path is only used by the program elgg
      it must not be accessible via the internet
    • Seriously? Are you trying to say that the documentation is wrong? Set this permissions on your data path, give me your website URL and I'll show you many interesting things with your server ;)

    • The important point is "outside document root". Then no one can access the data directory over the Internet directly. The second point is folder permissions. Important is that the webserver can access/read/write the data directory. So, you can either change the owner of the data directory to the account (on the server) used by the webserver process. Then you don't need 777 permissions. The 777 permissions would just be the simplest "solution" if you don't want to (or can't for whatever reason) change the owner and/or group of the data directory accordingly for the webserver being able to access it properly. But most importantly: data directory ALWAYS outside the document root directory tree. The docs as linked above should be detailed enough to understand the pros and cons of the different options regarding permissions of the data directory.