Koozali.org: home of the SME Server

How do I actually configure webdav to work?

Offline hegedusa

  • *
  • 6
  • +0/-0
How do I actually configure webdav to work?
« on: August 22, 2010, 01:20:41 PM »
I've installed the webdav contrib, and would like to be able to access files in an ibay via webdav. However, using a windows xp client, whenever I find the resource through http://myserver/ibay-name and enter my user name and password, it is rejected. Can anyone shed any light on this? Thanks in advance
Anthony

Offline hegedusa

  • *
  • 6
  • +0/-0
Re: How do I actually configure webdav to work?
« Reply #1 on: August 22, 2010, 03:51:22 PM »
OK, I've managed to get to to partially do what I want. It seems that the URL must be in the form "http://myserver.com" rather than "http://myserver.com/filestore". I can access this from outside my network.. BUT it seems to default to the html folder in the relevant ibay rather than the files folder in the ibay. How can I change this?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: How do I actually configure webdav to work?
« Reply #2 on: August 22, 2010, 05:05:57 PM »
please take some time to read carefully the documentation..

everything you need to know is there.

thank you

Offline hegedusa

  • *
  • 6
  • +0/-0
Re: How do I actually configure webdav to work?
« Reply #3 on: August 22, 2010, 06:23:51 PM »
I have read it, but am missing something important I know. Everything works, except the ability to get it to open in the folder I want. I would like the webdav client to be able to open in ibays/aahfiles/files and not ibays/aahfiles/http. I just can't see how to change this. I've tried adding a symbolic link in the http folder but it doesn't seem to be seen by the various webdav clients I've tried.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: How do I actually configure webdav to work?
« Reply #4 on: August 22, 2010, 06:29:38 PM »
do you mean this contrib?

Offline hegedusa

  • *
  • 6
  • +0/-0
Re: How do I actually configure webdav to work?
« Reply #5 on: August 22, 2010, 06:53:48 PM »
Yes, the "DAV" contrib

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: How do I actually configure webdav to work?
« Reply #6 on: August 22, 2010, 07:02:32 PM »
It seems that the URL must be in the form "http://myserver.com" rather than "http://myserver.com/filestore".

this is valid only if you are working with Primary ibay

if you have an ibay "myibay", you'll find it at http://yourserver/myibay url

Quote
I can access this from outside my network.. BUT it seems to default to the html folder in the relevant ibay rather than the files folder in the ibay. How can I change this?

as you said, this is the default
if you need to reach "files" folder, it should be available at http://yourserver/ibayname/files url

S.

Offline hegedusa

  • *
  • 6
  • +0/-0
Re: How do I actually configure webdav to work?
« Reply #7 on: August 22, 2010, 07:15:30 PM »
this is valid only if you are working with Primary ibay

if you have an ibay "myibay", you'll find it at http://yourserver/myibay url

as you said, this is the default
if you need to reach "files" folder, it should be available at http://yourserver/ibayname/files url

S.
Thanks for the reply
It doesn't appear to work like that. If I reference http://myserver/myibay it returns an error 404.

If I try to reference http://myserver/folder1 it shows me the contents of /home/e-smith/files/ibays/myibay/html/folder1
What I am trying to do is to show the contents of /home/e-smith/files/ibays/myibay/files

It only seems to want to show me the contents of the html folder and I cannot seem to alter that.
Anthony


Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: How do I actually configure webdav to work?
« Reply #8 on: August 24, 2010, 12:35:24 AM »
I use the same contrib for DAV.
First, using folder html seems to be by design since it is using apache and port 80/443.

In order to use an ibay, I use a subdomain to associate the dav enabled ibay. It works with microsoft and linux clients. For windows, the client I use is NetDrive (free for non-commercial).

There is a problem with permissions. When I edit a file, a temporary file stays in the folder when I'm done.

Sophie from Montréal