Enable WebDAV

From AwkwardTV
Revision as of 09:36, 16 September 2007 by OikB34 (talk | contribs)
Jump to: navigation, search

idlewild radio head the creep yamaha e400 cavo scart 21 poli insel verlag gb usb were are running atomic elimited altoparlanti autoradio b b cormorano px 740a foto annuncio heidenau chiavi tps calendaro di loredana lecciso www coogle com hotel 5 stelle roma hotel citroen c2 km zero gibson rd standard testo 66 linea subsonica www sesso gradis it sankt gotthard fabbriche messina una nuova tecnologia da intel norme elettriche nuova nissan primera auto nuove it s all right racconti erotici io mamma e mia sorella power shot a520 toner samsung ml 6000 salpingectomia in amore concessionaria toyota milano benq usb ricetta cucinare carne www conami com hotel in sardegna gabbia per uccelli kenwood home cinema don juan ou le festin de pierre diporto nautico dvd divx recorder hard samsung figa gratis gian maria volonte www esami di computer ecdl it sama libido assassinio a sangue freddo lg 1gb finanziamento vigevano belan sexo tortura iraq zombiegrinder www games creative zen micro nero scheda video 3d nicolae guta si copilu de aur e tu vicino a me refill paper mate deh p80mp viet miche missa luba key seca seca2 wireless adsl usb borse alla moda trans roma annunci sony klvs32a10e toyota auto punto y coma fotografia it ariete florence 1330 rumore treno scart ps2 naturalis historia bicicross quello che volevi campeggi korcula ilove con mamma hsd 415 Porno donne grasse Porno gratis Pornostars italiane Zoo sex Teen troie Kobe tai Goku sex Www escortforum com E family bnl it Porche troie gratis Youporno com Tgcom it Antonacci Foto porno gratis sicuro Www giochi winx it Hegre-art com Www oasi2007 com Petardas Video animal sex gratis Fastweb mail Calendario melita 2007 Livesexlist Uci cinema Carmen villani nuda Grasse che scopano Troie incinta Figa rossa Girl massaggiatrici Frasi d amore glitterate Sandra board3 Video parto naturale Puttane anziane Hentai c18 The simpson porno Fastweb mail Fujiko nuda Tatuaggio farfalla Melissa midwest video Big clits Lolita porn illegal 12 yo Porno motore Donne mature che scopano Pissing porno Sedi inps a roma Temi gratis per nokia n73 Www porno tube com Winx enchantix colorare Oops vip tv Belle fighe sudamericane Scopate amatoriali Immagini fate Foto de velhas nuas Www telepass it Mom fuck Sonia eyes free clip Mamme scopate Selen video gratis Foto goku porno gratis Calcolo stipendio netto Fiche pelose Fiche bagnate Wired pussy free Matura nl Valeria visconti Tugjob Porcone nude Anteprime scopate gratis Cliphunter Americane nude Ampland movie El-ladies Ww libero it Sfondi hello kitty Calciatori nudi gratis Cicciolina nuda Video animal sex gratis Sborrate di cavallo Video tettone free Classifiche house 2007 Melita nuda foto 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.