[openupload-devel] No Image (from traker)
Status: Beta
Brought to you by:
tsdogs
|
From: Alessandro B. <ts...@br...> - 2010-01-16 09:19:20
|
[For the others check this [1] ] Hi Samuel, I'm pasting here my answer to the problem you have on your installation: I basically see 3 problems here (the 3rd concerns more security): 1. The configured paths are somehow wrong. They should be: $CONFIG['WWW_SERVER'] = 'http://setonprojects.fr'; $CONFIG['WWW_ROOT'] = '/fileshare/www'; $CONFIG['INSTALL_ROOT'] = '/home/setonpro/www/fileshare'; $CONFIG['DATA_PATH'] = '/home/setonpro/www/fileshare/data'; /* see the 3rd point on security */ 2. The sub www directory is not accessible (permission problems, mod_rewrite? Please check) i.e. http://setonprojects.fr/fileshare/www/ raises a internal server error. 3. At least the data directory should be outside your web server search path (or at least as a minimum security disable indexing in the web server) see: http://setonprojects.fr/fileshare/data/ (is world accessible) The following is not necessary but very suggested for production use. If you want to have a production use of openupload I'd suggest you do the following: Untar/ungzip the openupload in /home/setonpro (so you have a /home/setonpro/openupload directory which is not accessible by the web server) then copy/move the www sub directory to /home/setonpro/www/fileshare (where the config.inc.php file is) Then set the paths to the following: $CONFIG['WWW_SERVER'] = 'http://setonprojects.fr'; $CONFIG['WWW_ROOT'] = '/fileshare'; $CONFIG['INSTALL_ROOT'] = '/home/setonpro/openupload'; $CONFIG['DATA_PATH'] = '/home/setonpro/openupload/data'; Obviously you'll probably will need to fix the permissions on the templates_c, data and data/tmp directories. Hope this solves your problem. Alessandro [1] http://sourceforge.net/tracker/index.php?func=detail&aid=2930618&group_id=242018&atid=1117805 |