#125 closed task (fixed)
File upload capability for web docs
Reported by: | tmitchell | Owned by: | tmitchell |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | SysAdmin | Keywords: | webdav mapguide fdo |
Cc: | robert.bray@… |
Description (last modified by )
After discussing with Bob, we came to the conclusion that the best way to handle the MapGuide and FDO massive doc folders is to have some way of being able to upload all these mega files to the www.osgeo.org server - instead of the currently annoying task of managing them in SVN.
His team would only need access to one folder via something like WebDav (or ftp) to be able to upload their computer generated docs for their html api browser. I thought of WebDav because it will already be included in Apache and is really easy to setup and could optionally use our LDAP.
This document management issue exists for others too, not just MapGuide and FDO, but some of the committees have many large files scattered about that are not good to manage through simplistic web forms. So a general solution built on LDAP would be ideal.
Any thoughts? What do others think?
Change History (16)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Tyler, i can set this up. Do you know what the expected url to these files should be?
shawn
comment:3 by , 17 years ago
Description: | modified (diff) |
---|
Okay, thanks Shawn. As long as we can get access to our main web files folder we'll be good:
/var/www/html/files/...
I've been creating committee level folders in there for each group as required i.e.
/var/www/html/files/viscom
We could have project level ones like these to start:
/var/www/html/files/mapguide /var/www/html/files/fdo ...
If possible to use LDAP in these project level folders, that'd be great.
Thanks again!
comment:4 by , 17 years ago
I set up ldap webdav for /var/www/html/files/mapguide and /var/www/html/files/fdo on the weekend. I wanted a couple days to make sure everything was ok ---- I noticed that apache couldn't read the ssl cert files when i did a service httpd configtest so i fixed the permissions and reloaded apache.... everything seems fine but, i'll keep an eye on it.
It's set up so those who have mapguide or fdo svn committer status have write access to the respective directories.
I haven't done extensive testing so let me know if all is working before we close this ticket.
shawn
comment:5 by , 17 years ago
Hi, Could you give me some instructions on how to use this? For now, I'm interested in which tool (or URL) can I use to get access to these directories? I think that I can take it from there. Thanks, Tom
comment:6 by , 17 years ago
Tom,
I haven't used any windows or mac wedbav clients but, for linux i've used the WebDAV linux file system (davfs) http://dav.sourceforge.net
Here is a link to a listing of some webdav tools http://www.webdav.org/projects
shawn
comment:8 by , 17 years ago
I haven't been able to look at this yet. But when MGOS 2.0 releases early next year, I'll be using this. Tom
comment:9 by , 17 years ago
Hi, I was going to try to connect, but I don't know what URL to enter into my WebDav client. I tried http://www.osgeo.org and http://mapguide.osgeo.org but these didn't work. Do you know what I should enter? Thanks, Tom
comment:10 by , 17 years ago
Status: | assigned → new |
---|
I'm not sure myself. Shawn can you give a pointer?
comment:11 by , 17 years ago
the webdav permissions are setup on /var/www/html/files/mapguide and /var/www/html/files/fdo. These should resolve to the urls of http://www.osgeo.org/files/mapguide and httpd://www.osgeo.org/files/fdo
shawn
comment:12 by , 16 years ago
Thanks Shawn. I managed to connect using https://www.osgeo.org/files/mapguide. I used my ldap account (tomfukushima) to log in. Next problem is that I can delete files but I can't seem to create any new directories or overwrite existing files. Could you check into the permissions for me? If I could at least create new and rename existing directories, that would work fine. Thanks, Tom
comment:14 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:15 by , 16 years ago
Keywords: | webdav mapguide fdo added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
I've made some modifications and tested the set up using Mac. It seems to work a lot better now and should now allow read/write and new folders. I was able to make a new folder, rename it and delete it. The URL is now changed to: https://osgeo.org/webdav/mapguide and https://osgeo.org/webdav/fdo
For the record, I moved the files from /var/www/html/files/ to a non-public location: /var/www/webdav and then created symbolic links back to the files so they are publicly available. This somehow improved the way it was handling things.
Let me know if works for you Tom!
Here is a brief howto on WebDAV and LDAP: http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Apache-WebDAV-LDAP-HOWTO.html I can give it a try setting it up if others are busy.