Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Lion Server and WebDAV

Lion Server and WebDAV
Thread Tools
Professional Poster
Join Date: Mar 2004
Location: UK
Status: Offline
Reply With Quote
Feb 2, 2012, 06:25 PM
 
Has anyone had any luck sharing folders to iOS over webDAV from a Lion Server? I've tried on a couple and it just doesn't seem to work.
MacBook 2.0GHz CD; MacBook Pro 15" 2.4GHz Late '08; PowerMac G4 MDD Dual 1GHz; 3x Xserve G4 1GHz; Mac Mini 2GHz; Big pile of broken and working bits;
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Feb 2, 2012, 06:50 PM
 
What is going on? I don't use Lion Server, but WebDAV is WebDAV. You can trace WebDAV problems in Lion the same way you would any other OS running the same web server.
     
Professional Poster
Join Date: Mar 2004
Location: UK
Status: Offline
Reply With Quote
Feb 2, 2012, 08:00 PM
 
Specifically its WebDAV file shares. Basically you have a tickbox for each of your shares for each protocol you want to use. One of them is labelled "Share with iOS devices" or similar, but it means WebDAV.

Supposedly you can then connect using Command-K from another Mac and http://X.X.X.X/webdav/user though I haven't gotten this to work at all. I have persuaded it to prompt for login credentials using http://X.X.X.X/ or sometimes http://X.X.X.X/user and for certificates using SSL but regardless it eventually gives you a totally useless "there was an error" or "IP is wrong" error message and Console reports that WebDAV is not supported for that share.

I've checked the Apache config files, the various WebDAV config files and the virtual host settings, everything I can find looks like its properly set but nothing will successfully connect to it via WebDAV. The only thing both servers have in common is they were upgraded from Snow Leopard Server. I supposed I ought to try with a clean one just in case.
MacBook 2.0GHz CD; MacBook Pro 15" 2.4GHz Late '08; PowerMac G4 MDD Dual 1GHz; 3x Xserve G4 1GHz; Mac Mini 2GHz; Big pile of broken and working bits;
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Feb 3, 2012, 07:26 AM
 
If SSL is required the URL should start with https://

Is the web server responding on port 80? What are your Apache error logs saying? Can you paste in your Apache WebDAV config?
     
Fresh-Faced Recruit
Join Date: Feb 2012
Status: Offline
Reply With Quote
Feb 19, 2012, 02:14 AM
 
Here's what I've figured out so far:
  1. Make sure your DNS is working (forward and reverse)
  2. If you have more than one realm configured on the server use the appropriate domain name rather than the server IP address.
  3. Use SSL (https://your.server.name/webdav)

I was able to get things working without SSL in some applications but others (Pages, and Numbers, for example) would appear to copy the file but the file on the server would be zero bytes. Switching to https solved the problem.

Hope that helps.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:59 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2