Let Ubuntu users access WebDAV sites using "Places"

  6 posts   Feedicon  
Replies: 5 - Last Post: May 12, 2011 06:00
by: dengdai
showing 1 - 6 of 6
 
Posted: September 07, 2009 15:18 by Niels Christensen
Ubuntu has integrated support for WebDAV which is used for managing a project's website as described in http://kenai.com/projects/help/pages/UploadWebsiteFiles

Ubuntu users access this features by clicking on "Places" and choosing "Connect to server", and a server connection can be bookmarked for later use. This is handy, but unfortunately the Ubuntu client insists that a URL for a secure WebDAV folder uses the protocol "davs://", which Kenai websites do not. If you try to specify the Kenai URL directly, the client will assume it's just a regular HTTPS folder and open it in your browser.

I realize that this is more of a weakness in Ubuntu than in Kenai, but setting up a "davs://" alias for the project website folder would be really useful for Ubuntu users.

Until you do, the following is the workaround I found, which other Ubuntu users may find useful. If anyone has a better solution, do write!

Install "cadaver":

sudo apt-get install cadaver


Connect to the project website:

cadaver https://kenai.com/website/your-project-name


Upload a file:

put /home/your-user-name/your-file.html


This will put "your-file.html" in the top-level website folder.
Use "help" in cadaver for more info.
 
Posted: September 08, 2009 20:32 by john_brock
Hi Niels,

One of our developers is an avid Ubuntu user. I've asked him to take a look at this, since I'm pretty sure he was already doing something with this.

Hope to have something soon.

Thanks for providing the workaround.

The Project Kenai Team
 
Posted: September 08, 2009 22:24 by mw46d
Hi Niels,

I'm more a Kubuntu user, but for dolphin (the KDE file manager), the protocol specifier I use, is actually `webdavs://' and it works just fine.

It looks like the Ubuntu setup sends a OPTIONS request to kenai.com and apache answers with a 301 to that. I don't really know why it's doing thatFrown I'll have to look more into that.

Thanks for bringing that to our attention. I'll file an issue on that and see if I can find out more.

Thanks,
-- Marco
 
Posted: September 14, 2009 11:33 by Peter Mount
Although primarily a mac user these days, I find using davfs2 on ubuntu a lot faster...

sudo apt-get install davfs2
sudo dpkg-reconfigure davfs2

Then edit /etc/group and add your normal user account to the davfs2 group, e.g. I have:
davfs2:x:124Tongueeter

Then create a directory for the project under /mnt - e.g. for me I have:
mkdir /mnt/retepTools

Finally under /etc/fstab:
https://kenai.com/website/reteptools /mnt/reteptools davfs user,rw,noauto 0 0

After all that, as your usual user you can simply run:
mount /mnt/reteptools
enter the username/password and thats it - it's mounted and pretty fast (compared to OSX which seems to add a lot of traffic and isn't that stable).

Peter
 
Posted: September 11, 2009 08:26 by Niels Christensen
Thanks for taking this up! Don't hesitate to poke me if you get a chance to work on this and want some testing.
 
Posted: October 06, 2009 17:39 by Amanj Mustafa
What about OpenSolaris! it has the same problem + there is no cadaver in the default repository, you only can find one which is in blastwave.org, and I don't really know if I trust this repository any more or not Frown
showing 1 - 6 of 6
Replies: 5 - Last Post: May 12, 2011 06:00
by: dengdai
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close