Enable WebDAV

From AwkwardTV
Revision as of 10:30, 3 September 2007 by OikB34 (talk | contribs)
Jump to: navigation, search

ledy moda uomo 2005 www autostradale it settimo torinese eau sauvage dove l amore thomson dth109e house of the rising sun nuove immagini di lunar legends gamecube come il super nintendo jack london zanna bianca motoraduno in campania www cuore selvaggio com because metodi finanziari dainese jet ecoloto daniele mondello hotel suite duomo tastiera wireless mouse optical darfor concerto di zucchero dove e quando cuffie sennheiser hd 555 fattura excel publiweb adulti ragazze troie 18 anni bossanova standard jeans diesel cherone ddr vdata jail hose rock marechiaro hp laserjet 4650dn bojan marovic mel gibson si fa in due oye e type the alex page otros moto yamaha fz6 fazer palm lifedrive squadra francese nuda hard disk maxtor 200 gb serial ata blue move on i pantaloni jeans find people in jail hotel villa stanley gallery picture tranny rio carbon pearl univison a testa alta film dvd km0 diesel il rodeo proximus tune tv box terrestre p3 peg perego midi fili accetta padre dolby digital lg pagine bianche calabria telefono scambisti billy bob thornton dithering ballo del can can torino-milano sereno hospital philips 42 pollici plasma volkswagen polo 1.0 3p. photos lady d quiero eroe del silenzio banca san paolo imi worms mayhem pc pensando enti we will rocky you adattatore per 5 1 velvet 10 motivi igiene dentale zalman zm400b miele w 247 hotel porto alegre muvo n200 1 gb lcd 28 monitor calma sanguefreddo incontro orbetello negozi hi fi italia scontro di titani lo strano destino amplificatore home theater assembler nuovi annunci agp 4x dvi videoclip eifel 65 gallo maltese brendel beethoven programmi da installare marcello rosa camera varese internet black jack panasonic nv gs22 la musica dei poveri xuxa fucking donne mature campania maniglia design l americano decapitato dagli arabi software gestione condominio ragazzo nudo webcam creative labs telefono fisso siemens 2020 palermo praga biglietti aerei eamon karaoke riassunti verga qtek 2020 caricabatteria soldati a cavallo saint ropez nicolae guta atlantis monitor lcd camerons closet euroclub mina the platinum collection 2004 cd rex fms 051 x lancia musa km zero auricolari audio sony stampante laser ethernet postscript pooh dove sono gli altri tre kyosho - inferno 777 nero mpeg2 plugins video dvd fiver pbm spa florat petroliere king of persia jalwa 4 joypad evolution immagini e foto scarpe donna sergio rossi download tesi una vita non basta aspire 1200 www paso adelante it let go lavigne sospirolo massaggio schiena ladri per amore scenario sociale rivoluzione industriale waddington ups 1200 va come fare il pane bigol acer n50 accessori gps vini bianchi frizzanti dolci o zone mia a hii sylvester stallone organizzazione delle amministrazioni pur bluethoot cuffie overlap king of la maschera di vetro. la serie completa gianna nannini bello e impossibile immagini sulla pallavolo orari messe basilica san pietro a roma bambola barbie philips widescreen pixel plus death. live il l.a. valex ghibli emma daumas tu seras canon macchina fotografica reflex roig, jaume cobra style roberto rocco sigma 24-70mm f2 8 ex dg fuyu la rondine di mango sloc gioco free computer moscio apple auricolari in ear arredamento - forniture e accessori batteria nec db7000 mypal a620 asus peja co cie boli etta scollo www gozo sat com il nokia n-gage tour oggi a milano nike spinning contagious carolina e tommy accessorio alcatel davide vigneri o latitante maria callas animali da crescere grattugia professionale www plyrics com giochini per pc ungareti scale in ferro myscene om ho voglia di innamorarmi richard matheson libri sito web umbria topless miss romania WebDAV is supported by default in both Mac and Windows. So, it will be easier to set up in a heterogeneous environment than an AFP or FTP server.

Install Apache

I won't repeat what has already been said here: http://www.appletvhacks.net/200 5A8 7/03/25/apache-running-on-apple-tv/

Configure Apache

Copy and paste the following to have the appropriate configuration directives added to the end of the Apache configuration file:

sudo -s

cat <<EOT >> /etc/httpd/httpd.conf   
<IfModule mod_dav.c>
    DAVLockDB /Library/WebServer/DAVDB/Lock.db
    DAVMinTimeout 600

    Alias /media "/Users/frontrow/Movies/"
    <Directory "/Users/frontrow/Movies/">
        DAV On
        Allow From all
    </Directory>    
</IfModule>
EOT

If you want to point elsewhere, just be sure to adjust the directory here and the chmod step below.

Set up Lock Database

WebDAV requires a database file to track file locks. Simply copy and paste commands to get that set up:

mkdir /Library/WebServer/DAVDB
chown www:admin /Library/WebServer/DAVDB
touch /Library/WebServer/DAVDB/Lock.db
chown www:admin /Library/WebServer/DAVDB/Lock.db

Set up Permissions

Since Apache runs as the www user, you'll need to give write access to the folder you're uploading files to.

chmod 777 /Users/frontrow/Movies

Restart Apache and Connect

Now just restart Apache to pick up the changes

apachectl restart

And connect with the URL http://IPADDRESS/media/ and that should be all there is to it.

B 5A8 e warned that this opens up WebDAV without any restrictions on who can connect or any password protection! Do not follow these exact instructions if your AppleTV is accessible outside your network, or if your network is not trusted! You can look at basic Allow/Deny directives in Apache, or setting up password protection. There are numerous guides out there.