471 Views 1 Reply Latest reply: Jan 21, 2013 10:26 PM by iBlink
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.
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.