Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

WebDAV Apache2 Syntax Error

Lion Server 10.7.5 Mac Mini


After trying every "solution" I could find on the internet to get WebDAV working, I finally came across a post that fixed it...kind of.


http://www.macsupportguy.com/viewtopic.php?t=31574&p=137825


This post points out that the /etc/apache2/httpd_webdavsharing_sharepoints.conf file, which is autogenerated by the WebDAV process has a syntax error. This was confirmed in my system.log, which stated there was a syntax error on line 18.


There were " " missing around the RewriteRule entry. As soon as I added the quotes and saved the file I was able to use WebDAV from the connect to server option on my mac (https://mydomain.com/webdav). Awesome.


Here is my problem. As soon as the File Sharing service is turned off and on, it either rewrites the file or deletes my changes to the file and makes logging into the server with WebDAV fail at login again. It prompts me for credentials and then says there was a problem connecting to the server. rebooting the server keeps my changes, it just removes them when bouncing the File Sharing service.


I need to know how to make these changes stick or if the file is being recreated, how do I tell Apache2 to add the quotes?


I should mention that when WebDAV does work, only the network users can login and not the local admin accounts. After configuring and managing lion server I know for a fact that I will need to turn off the services now and then for other reasons, so having to edit this file all the time is not a very good solution.

Mac mini, Mac OS X (10.7.5), Server

Posted on Jan 21, 2013 9:06 PM

Reply
1 reply

WebDAV Apache2 Syntax Error

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