Setting up WebDAV Share in Mac OS X Server

As I attempt to transition from a laptop to an iPad, with no specific reason other than the iPad is sooooo kewl; I need to create my own online storage. Yes I have a Dropbox account, but I don’t control Dropbox.

Here’s what I did, YMMV.

  1. From Server Admin, make new Web > Realm and set appropriate ACLs.
  2. Create a folder in location/volume where data for Share is physically located.
  3. Change permissions of folder to _www:admin (that’s what works for me)
  4. Create a symlink to the share folder in the folder where your web server looks to for the domain’s data.

I know there’s probably a bit of information missing and if I showed images of the actual steps it might make things a bit clearer but I’m a little paranoid about my server and I don’t want to risk opening it up to further attack.

All this needs to be done before OS X will allow a "Connect to Server..." and mount your WebDAV share.

Related posts:

  1. Setting up Snow Leopard iCal Server After scouring through the official documentation, and finding that lacking,...
  2. chroot’d SFTP on Mac OS X server So here you are finding that you need to grant...
  3. Fail2ban and OS X Server, part deux As some of you might know I run my own...
  4. Fail2ban on Leopard Server So here I am running my own server — for...
  5. iPad Arrives Well, with the Easter weekend over and Apple’s iPad gaining...

Related posts brought to you by Yet Another Related Posts Plugin.

This entry was posted in osx-server and tagged . Bookmark the permalink.

4 Responses to Setting up WebDAV Share in Mac OS X Server

  1. Manos says:

    This looks awesome, and I’m looking to do the same exact thing. The problem is that I can’t get the share out of my /Library/WebServer/Documents/

    Is there something I’m missing? How do i make symlinks? Thanks for the post!

  2. Andy Fragen says:

    @Manos, here’s what your missing. Put you WebDAV data on any folder attached or accessible to your server locally, perhaps a mounted USB hard drive. This is step 2 above. Change the folder permissions as outlined from the CLI with chown.

    The syntax creating a symlink is

    sudo ln -s /path/to/data /Library/WebServer/Documents/site_web_folder

  3. pitaara says:

    please can you explain how to Change permissions of folder to _www:admin

  4. Andy Fragen says:

    @pitaara, from the Terminal sudo chown -R _www:admin /path/to/folder

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.