hvail

Q: How do I set up WebDAV on the server?

I have a MacMini with Lion Server.  I am trying to set up WebDAV to work with my iPad.  Is there anywhere I can find a detailed description or manual to do this?  I have the user set up correctly and the server is .local.  I keep getting "server not found" every time.  It appears I am not setting up the server name correctly or not typing it correctly.  I selected the "private" setting but I am keeping it local for now without turning on VPN.

Mac Mini with Lion Server, Mac OS X (10.7), 4GB Mem, 320GB Drive

Posted on Aug 12, 2011 5:30 AM

Close

Q: How do I set up WebDAV on the server?

  • All replies
  • Helpful answers

Previous Page 2 of 3 last Next
  • by Newtron40,

    Newtron40 Newtron40 Aug 15, 2011 3:02 PM in response to Nicki Rasmussen
    Level 1 (30 points)
    Aug 15, 2011 3:02 PM in response to Nicki Rasmussen

    Nicki -

    Please be more descriptive. What was the URL that you entered?  It looks like your access to port 80 is good but it looks like a error message from Safari.

     

    Are you trying to access this from Safari?  You can't use a browser to use webdav.  If you're using a mac, you'll need to be in Finder and select the GO menu and choose Connect to Server.  When the box appears, then you enter the URL.  On windows, you'll need the use the tools to "Map Network Drive".  On an iPad/iPhone, you'll need to use an app that has webdav built in like Pages, Keynote or Numbers.

     

    Thanks

  • by Nicki Rasmussen,

    Nicki Rasmussen Nicki Rasmussen Aug 15, 2011 8:31 PM in response to Newtron40
    Level 1 (0 points)
    Aug 15, 2011 8:31 PM in response to Newtron40

    Okay.

    I tried in Safari.

     

    But now I tried as you said, in "Connect to server". And i get a login window. But if i use one of the users short names as login and there password, is says: That should control the server name and IP.

  • by Newtron40,

    Newtron40 Newtron40 Aug 15, 2011 10:22 PM in response to Nicki Rasmussen
    Level 1 (30 points)
    Aug 15, 2011 10:22 PM in response to Nicki Rasmussen

    Ok - so you put the url into the window that opened up when you selected "connect to server"

    Screen Shot 2011-08-15 at 10.08.33 PM.jpg

    When you click the "Connect" button, it should open up a shared disc just like AFP, NFS, SMB. 

     

    Have you tried this from an application on an iPad or an iPhone with an app that uses Webdav like Pages or Numbers?

  • by Nicki Rasmussen,

    Nicki Rasmussen Nicki Rasmussen Aug 16, 2011 12:53 AM in response to Newtron40
    Level 1 (0 points)
    Aug 16, 2011 12:53 AM in response to Newtron40

    Yes, I do as shown in the picture.

     

    Yes I have tried an App. It doesn't work with that either.

  • by CAS3,

    CAS3 CAS3 Aug 16, 2011 10:10 AM in response to Newtron40
    Level 1 (0 points)
    Aug 16, 2011 10:10 AM in response to Newtron40

    Thank you very much for your help.  I DID NOT know my correct short user name.  That has solved my problem.

  • by Newtron40,

    Newtron40 Newtron40 Aug 16, 2011 12:10 PM in response to Nicki Rasmussen
    Level 1 (30 points)
    Aug 16, 2011 12:10 PM in response to Nicki Rasmussen

    Nicki -

    Don't really know what to tell you.  You may need to reinstall if you're having that much problems. You may need to check the logs in /var/logs/ to help diagnose.

     

    Sorry

  • by Nicki Rasmussen,

    Nicki Rasmussen Nicki Rasmussen Aug 19, 2011 8:25 AM in response to Newtron40
    Level 1 (0 points)
    Aug 19, 2011 8:25 AM in response to Newtron40

    Okay. Dammit

     

    Where do I find that log?

     

    Sorry. Pretty new at this.

  • by Newtron40,

    Newtron40 Newtron40 Aug 19, 2011 8:47 AM in response to Nicki Rasmussen
    Level 1 (30 points)
    Aug 19, 2011 8:47 AM in response to Nicki Rasmussen

    If you go into Terminal and enter cd /var/log/apache2/ you'll see the logs. There should be an access_log and an error_log.

     

    Nicki - did you enable the users permission to access the files you want via Finder or CLI?  They need permission to access not only from the File Sharing in Server app, but also on the Folder itself...... Just a thought.

     

    Is this a new Lion server?  If not, did you migrate or upgrade your SLS to Lion?

  • by easebourne,

    easebourne easebourne Sep 25, 2011 10:57 AM in response to Newtron40
    Level 1 (0 points)
    Sep 25, 2011 10:57 AM in response to Newtron40

    Hello,

     

    I have read this forum and I am doing everything correctly, but it will still not connect.

     

    On the ipad (connecting to webdav via pages) it will not recongise the server if I use 'server.name.local', however when I use the IP address, it takes a while to verify but then says "an error occurred. please try again".

     

    any clues??

  • by easebourne,

    easebourne easebourne Sep 25, 2011 1:02 PM in response to easebourne
    Level 1 (0 points)
    Sep 25, 2011 1:02 PM in response to easebourne

    I've noticed something else,

     

    I have changed the 'host name' a few times and swapped between all 3 options to see if I can get webdav to work. If I change the host name name to say LOCAL, then I try to change it again a few minutes later, it thinks it is already PRIVATE when it should have been local. It's not happy and I cant find a way to reset or reinstall Lion Server.

  • by ihazem,

    ihazem ihazem Sep 25, 2011 3:18 PM in response to easebourne
    Level 1 (0 points)
    Sep 25, 2011 3:18 PM in response to easebourne

    What URL are you using in pages? Should be http://<ip>/webdav/<short_username>

  • by Newtron40,

    Newtron40 Newtron40 Sep 25, 2011 5:58 PM in response to easebourne
    Level 1 (30 points)
    Sep 25, 2011 5:58 PM in response to easebourne

    The part where you're entering local sounds like a DNS issue. For you to enter an ip address to reach it and not any server_name.local or just server_name.

     

    Correct DNS setup is essential to get it all working correctly.  Check out the very helpful stuff from Hoffman Labs with regards to MAC DNS setup:   http://labs.hoffmanlabs.com/node/1436

     

    Anytime you change a configuration in your webdav, you should restart the webserver in Server.app.  It seems to be much happier after you do this.

     

    Also check the apache2 logs for errors:  /var/log/apache2/

  • by MRMinSF,

    MRMinSF MRMinSF Jan 9, 2012 6:22 PM in response to hvail
    Level 1 (0 points)
    Jan 9, 2012 6:22 PM in response to hvail

    I've managed to get access to a WebDAV server (10.7.2 Lion Server) from a OS X 10.7 Mac by using the GO-->Conect To Server menu in the Finder, and pointing to

     

    http://myserver.com/webdav/usershortname

     

    But that takes me to a home directory for that single user on that machine. Since that server is, well, a server, the shared stuff is all in the SHARED directory which I can't seem to access from the user's home directory.

     

    Oddly, on my iPhone using a WebDav app I can enter this address

     

    http://myserver.com/webdav

     

    When the iphone app requests the usershortname I give it the same shortname as above, but now I am promptly taken, as I would like, to the shared directory where our office's documents are stored. So, it works on the iPhone, not on the Mac. Huh.

     

    Miserable experience... If I wanted something this complicated I would have used an old Win box and set up some stupid Linux or windows sharing service. I really thought this was going to be an Apple experience, but certainly hasn't been. :-(

  • by David Kurtz2,

    David Kurtz2 David Kurtz2 Jan 13, 2012 2:45 PM in response to MRMinSF
    Level 1 (55 points)
    Jan 13, 2012 2:45 PM in response to MRMinSF

    MRMinSF:

     

    Do you get the expected results when you use a WebDAV applications such as Transmit?

  • by dgn944363,

    dgn944363 dgn944363 Feb 1, 2012 7:40 PM in response to hvail
    Level 1 (0 points)
    Feb 1, 2012 7:40 PM in response to hvail

    It took me a while but I think I managed to get mine working in 10.7 Server on a Mac mini.

    I turned on web sharing in system preferences then set up file sharing in the server app

    and assigned groups to the sharepoints.

    Then I created user accounts and added them to the groups

    and then I logged into those accounts on the server, to cement their account type.

    After that, the accounts are accessible via https://<your-ip>/webdav/ from a Mac and from an iPad. But as somebody else pointed out, you must use the "short name" not hte full user name, to get in.

    Windows access works but is a bit flaky, depending on what version of Windows. In W7 just right-click on the "computer" folder in an open window, and choose "add network location" then follow the instructions. But I had to specify a singke folder, such as https://<your-ip>/webdav/thisfolder/ to get it to work.

    The slowest part for me was realizing that I needed to use an account that had already logged in on the server as a regular user. And then making sure that the user and group permissions and access lists didn't accidentally lock out a user.

    Hope this helps!

Previous Page 2 of 3 last Next