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-OTHER, Mac OS X (10.7), 4GB Mem, 320GB Drive

Posted on Aug 12, 2011 5:30 AM

Reply
39 replies

Aug 15, 2011 1:09 AM in response to CAS3

CAS3 -

Your short username is automatically assigned and is the same thing as the username as opposed to the full name. You can give your users more than one short name (I believe in server app it's called aliases). If you open workgroup manager, find a user and click on them and look in the basic pane on the right you should see just above the passwords a box with Short Names:. Apple is user friendly and therefore lets you do it both ways.... short names / usernames or Full Names for credentials.


In Server App,

go to your users,

select a user and then right click on the user and select Advanced Options. You'll see a box labeled Account Name. This is the basic short name/username of the account. There are no spaces. But with that you should be able to log in via your regular name (ie. John Brown) or the short name (johnbrown). If you give your account another alias (ie bubba) you should also be able to log in with that.


So try to log in with your short name associated with your account. If it works, that's not the problem.

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

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?

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.

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/

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. :-(

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I set up WebDAV on the server?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.