Ticket #125 (closed task: fixed)

Opened 2 years ago

Last modified 7 months ago

File upload capability for web docs

Reported by: tmitchell Assigned to: tmitchell
Priority: normal Component: SAC
Keywords: webdav mapguide fdo Cc: robert.bray@autodesk.com

Description (Last modified by tmitchell)

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

07/14/07 10:37:27 changed by tmitchell

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.

07/16/07 09:59:28 changed by sbarnes

  • owner changed from sac@lists.osgeo.org to sbarnes.
  • status changed from new to assigned.

Tyler, i can set this up. Do you know what the expected url to these files should be?

shawn

07/16/07 11:32:30 changed by tmitchell

  • description changed.

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!

07/23/07 09:08:34 changed by sbarnes

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

10/22/07 13:14:14 changed by tomfukushima

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

10/24/07 09:39:29 changed by sbarnes

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

12/10/07 19:36:00 changed by tmitchell

Bob/Tom, have you been able to use this set up?

12/10/07 20:30:40 changed by tomfukushima

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

03/04/08 19:21:12 changed by tomfukushima

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

04/09/08 12:53:11 changed by tmitchell

  • status changed from assigned to new.

I'm not sure myself. Shawn can you give a pointer?

04/09/08 14:17:03 changed by sbarnes

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

05/26/08 19:35:37 changed by tomfukushima

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

07/31/08 13:37:52 changed by tomfukushima

Pinging again...

12/01/08 18:52:58 changed by tmitchell

  • owner changed from sbarnes to tmitchell.
  • status changed from new to assigned.

12/01/08 19:44:37 changed by tmitchell

  • keywords set to webdav mapguide fdo.
  • status changed from assigned to closed.
  • resolution set to fixed.

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!

12/02/08 15:01:18 changed by tomfukushima

That works. Thanks Tyler. Tom