Enable WebDAV

From AwkwardTV
Revision as of 13:04, 31 March 2007 by Phoem (talk | contribs) (New page: Chasd: If you need access to all platforms, WebDAV is cross platform, unlike AFP or CIFS. Since someone has been able to get Apache to run, I would like to see some try to enable WebDAV. T...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Chasd: If you need access to all platforms, WebDAV is cross platform, unlike AFP or CIFS. Since someone has been able to get Apache to run, I would like to see some try to enable WebDAV. To enable WebDAV, uncommenting the config file line that loads the dav_module, and also the line that adds mod_dav.c. Then set up Directives that create an alias and enable WebDAV, like this :

Inside the

<IfModule mod_alias.c>
[...]
</IfModule>

block, add this block, generally after the block of lines for CGI-

<IfModule mod_dav.c>
Alias /media "/mediadirectorypath/"

# Create a lock database file for this server at this path
DAVLockDB /Library/Webserver/DAVLock.ical
# Minimum life of a lock
DAVMinTimeout 600
<Directory /mediadirectorypath>
DAV On
AllowOverride None
Options None
allow from all
</Directory>
</IfModule>

Make sure the media directory is writable by the apache process. You may need to touch the lock file and set its permissions.

Restart apache, then use this URL in "Connect To Server"

http://<ipaddressofappletv/media/