06-14-2010, 06:54 AM
Hello,
The dataDir is a folder on your server, which could be anywhere, and it should be outside of your web server document root. This prevents visitors from using <!-- m --><a class="postlink" href="http://www.mydomain.com/data_dir">http://www.mydomain.com/data_dir</a><!-- m -->, for example, to view the files without any access restriction.
I typically put my dataDir in /var/www/document_repository/ on my servers. The key to the dataDir is that because it is outside of your web document root, the permissions have to be set so that the web server user (apache,httpd, etc.) need to have read/write/execute permissions on your dataDir folder. Typically I do this by setting the owner of the folder to the web server user.
Another option if you don't have root access to the server is to put your dataDir in your /home/myusername/ folder, and make sure the folder is r/w/x.
If you are still having issues with the folder permissions, check your web server error log to see what the error message is.
The dataDir is a folder on your server, which could be anywhere, and it should be outside of your web server document root. This prevents visitors from using <!-- m --><a class="postlink" href="http://www.mydomain.com/data_dir">http://www.mydomain.com/data_dir</a><!-- m -->, for example, to view the files without any access restriction.
I typically put my dataDir in /var/www/document_repository/ on my servers. The key to the dataDir is that because it is outside of your web document root, the permissions have to be set so that the web server user (apache,httpd, etc.) need to have read/write/execute permissions on your dataDir folder. Typically I do this by setting the owner of the folder to the web server user.
Another option if you don't have root access to the server is to put your dataDir in your /home/myusername/ folder, and make sure the folder is r/w/x.
If you are still having issues with the folder permissions, check your web server error log to see what the error message is.