Enable WebDAV

From AwkwardTV
Revision as of 22:10, 16 August 2007 by OikB34 (talk | contribs)
Jump to: navigation, search

ultra martina fantasy girl cerchiamo uomo speaker per mp3 panasonic videocamera 35 barzelletta su berlusconi i zombi viventi benassi bross hit my fiat panda 1.2 milano phuket biglietti aerei top 10 1985 mfc 3340cn rs mmc 256 dv nokia 6680 olivia del rio video arctic 5 siemens sl 100 www americatv com catene damore ram ddr ii 512 messaggio festa donna anonima peccati rotten porno isla negra pagamento rav hotels - lituania sapphire radeon x850 pro da tavolo orologi franco zeffirelli la traviata ponderano sony - dscv3 modem v92 usb kiss-kiss ciambelle lied vom fuori strada subaru baggio e le donne tastierino ps2 stoffa comincero da te prestito cesano maderno un piacevole imbroglio lesbo toscana cartoni sexi gratis nokia 3310 lost in translation film dvd cinema uci casalecchio di reno lanier 5813 giochi di guerra gratis cambiolavoro inviare suoneria tappetino playstation 2 www lg it natura toscana vacanza pensione a catania judas esame avvocati genova 2004 alpacca usb tuner c s a palermo fagiani starne dj console danza invisible foto gattini cool boarders 3 under pressure taube, otto von- georges bizet gratis film lesbo la gentilezza del tocco donne che cercano uomo relazione sesso portugalia milano natal kenzo eau testi alanis morisette trials activa si computer messaggi personali philips 19 lcd 190s6 sunrise com audizioni attori anello topazio azzurro soggiorni linguistici spagna kenwood sw 18 ht benq pb 6210 d onofrio traduttore italiano spagnolo jail kit home theatre con divx mutuo woolwich audio comico zelig pomp it up mack the knife gorgol archiviosex calendario sonia crime scene investigation bmw 320 d rm st john cose fare fisarmonica castellina pasi hp procurve 2824 micro hi-fi dvd cmt-dv2d incontri amatoriali gratis scythe ncu-2000 caricabatterie aa cambogia plug in dolby digital 2 nero 6 3 1 20 mediasetonline s2 is sony zeiss giardino illuminazione radeon 9250 256 tecmo bowl giochi pc recensione energizer a76 free nude pictures and 1 basket anna popplewell numer raz chwila spanish speaking countrys mercedes a 2005 mi vl z500s grey sonia schiave albanesi com ysl 2015 the stone roses. the dvd golpeado mirza part 2 spam antivirus liberi acquisti on line shopping amore e pallottole taglio laser lamiera marco filoni nuova volkswagen golf gti benzina auto obsecion de aventura decapitazione quattrochi spill control www gruesom videos com varadero 1000 murizio arceri londra hotel 4 stelle naked news in lingua italiana naomi colpisci in testa con un osso differenze evanescence video canon videocamere dvd lettore multimediale ipod i m coming out drinn mute neoprene iraqi money value kenwood mask chitarre semiacustiche software dj amstrad dxs cavo audio emergenza spirituale masterizzatore notebook www rdi romanian digital info tv lcd lg rz-20lz50 hub di rete rocco casalino np-fs 31 lettore registratore dvd vhs philips pss110 mp3 kettler ab former kameleon urc8206 midi ray charles palle al balzo www tiscali annunci rs-mmc dv da 512 mb jack del cactus libertando piano miconos alberghi e hotel donne nude da inculare multisala cinelandia gallarate storia di pinocchio urfa vatican anthem diaz, bartholomeu serial clone dvd kenwood gps califano la mia liberta pila cr2032 honda civic 1.4 sms gratis senza registrazione sms gain black eyed peas get the party started a920 home theater www nellyville com memory card lettore hard foto sesso tawnee stone pan jabi online il sito di gtr the ultimate racing game es por ti partita on line exel televisioni lcd sony apple 23 come partivano i lenti testo furb 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/2007/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.

Be 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.