View Single Post
Quote:
Originally Posted by kingsinger View Post
Although I managed to get this far, I'm really pretty limited on this terminal and config file editing stuff. Do you think you could perhaps spell out the specific code you stuck in the file with a concrete example for this dimbulb.

If I'm just using the LAN IP address as the host name, is that what I would use?

So for example, when I hit command K to open the dav volume I type in http://127.0.0.1/omnisync and it mounts. Or from a different machine on my LAN I enter http://hostIPaddress/omnisync.

Or do I need to insert the term I created in the Alias line of the dav config file? (i.e., omnisync).

TIA
Okay, the server name for my laptop is Bill-Palmers-Macbook.local, so I put ServerName Bill-Palmers-Macbook.local in the httpd.conf file. Your Mac and your iPhone already know how to do the conversion of that name to the local IP address on your LAN.

Code:
#
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
#ServerName new.host.name
ServerName bill-palmers-macbook.local
Then I configure OmniFocus to use http://bill-palmers-macbook.local/webdav and I'm off to the races. My alias directive was:

Code:
Alias /webdav "/Library/WebServer/WebDAV"
The thing that dashes your hopes when it looks like the end is in sight is that you can mount a webdav volume without the servername bit being correct -- but then you'll get some 502 errors when you actually try to manipulate some files.