Enable WebDAV

From AwkwardTV
Revision as of 08:55, 2 September 2007 by OikB34 (talk | contribs)
Jump to: navigation, search

ivan jej czarne oczy kazaa per mac lg 600p epp scanner driver lucio battisti la canzone del sole last minute ventaglio l aiola itinerari stradali left outhside alone java script free lena philipson irishvillage mappe dei fondali marini lo pro sunday jenny mccarty inviti 18 compleanno hair styles heater paris la mia stella lithuania just for jou lionel ritchie hensley decapitazione immagini girasole haiducii vs gabry ponte dragostea din il carbone come combustibile fossile kmc kunzi it le bellissime di suze randal holumichl ingrosso abbiglamento donna hotel national rimini la mesa al que mas aplauda hotel a corvara la signora vestita di nero l amante gianni celeste i say little prayer jad loi ino 2004 let the in your head kof online jonatanhentai jarre aero la bella arcuri jamelia e tiziano ferro laura ange haflinger l equilibrista pupo kilie minogue video your eyes la batidora don omar le foto di beverley mitchell huge tito il buio della notte linkin park breakin the habbit i gens per chi libera http www file upload de indennita di malattia inps jefferson dreams jenna lewis fudendo il goleador stadium lorena mc kennit imarpe com pe island in trhe sun justintimberlake i migliori adsl lou bega the most expensive girl in the wo hothel in toscana jeux gratuit j j cale keracol il lancio del pinguino letras de canciones key vaiccess haiduci vs gabri ponte i racconti di tinto brass hotel napoli il mandorlo i love theme h s legami le mani lora ponce lemmins korhonen le lavandare ilarie l astronave la pelle nera leonardi sergio halleluia haendel levi se questo e un uomo il triangolo renato zero in death s embrace let me outside alone io ti amo veramnete la voglia la pazzia la tristezza l alle le malattie reumatiche jeux de moto kim sunil beheading inno della fedelissima lady dian hazard lavoro in toscana immatricolazioni a roma tre kasi kowalskiej la voglia la pazzia l incoscienza litfiba regina di cuori hentai movies los sultanes herri potter i don t know what i can save you from love me tender heberit imposta sostitutiva goaboa haidukii love profusion midi jobs hotmail uk katie rosen kay tracid joy t vanelli hotel cormoran cattolica himno a chile immagini di spirit laghi croazia jy five latin card plus irina dubcova katarzyna groniec il pellicano la tolerance lory lory invecchiamento isola di vis agenzie ilaria d amico video sexy la fuga degli innocenti lotto omnia win 32 hose hey ya outkast le donne di modena hotel la gondola ischia l cohen halleluya l oasi lyrics shut up kimsun il video helder rei itinerari europei le eta di lulu film hit dance 1994 janina lima il cuora mio la donna infinita how to be dead italia politica havananight incontri assisi 1986 il ballo del qua qua download il lavoro lennny kraviz inno ac milan lu cardillo di roberto murolo jenniofer lopez la m esa k mas aplauda le zoo jamba lesbian gallery photos lavalle idee per unghie finte love x love let it be john lennon ilaria d amico topless la bionda 1987 habernet khaled midi i need a heroe if you belive lancini kawasaki universal city innamorata incavolata a vita guy cloutier il film segretary lavigne lostrano percorso luna donomar lancia beta hpe integrita handicappati kazaa in italiano lolloscan tv sexy hotel notre dame de fourviere lookerflash jana jankulovska impressioni di settembre francesco renga ki mi dice lettera d amore hong nhung khoa than ho visto un re jannacci itis tracce della prova di inglese del 1 iron maden la playa hong nhung sao mai irvine welsh lunapop un giorno migliore 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.