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 > macOS > Lion Server and WebDAV

Lion Server and WebDAV
Thread Tools
Waragainstsleep
Posting Junkie
Join Date: Mar 2004
Location: UK
Status: Offline
Reply With Quote
Feb 2, 2012, 08: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.
I have plenty of more important things to do, if only I could bring myself to do them....
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Feb 2, 2012, 08: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.
     
Waragainstsleep  (op)
Posting Junkie
Join Date: Mar 2004
Location: UK
Status: Offline
Reply With Quote
Feb 2, 2012, 10: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.
I have plenty of more important things to do, if only I could bring myself to do them....
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Feb 3, 2012, 09: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?
     
ChockyII
Fresh-Faced Recruit
Join Date: Feb 2012
Status: Offline
Reply With Quote
Feb 19, 2012, 04: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.
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 12:54 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,