Enable WebDAV

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

porno zoofilia in dvd gratis audi s4 42 avant bany h porte napoli zaino hamtaro notebook zaino giuseppe e tiziana vivavoce bluetooth sbs rimbalzo controllato amd sempron 300 hdd sata hot swap forcom hotel ibiza con le pistole donne con tette grosse papaya integratori eos 30 noelia arias rx v1500 yamaha lullabies butterflies dalida gigi l amoroso freundeskreis logitech rechargeable gli arditi del mare autostrada catanzaro gaggino serial ata hd 120 gb arcadio y la revolucion albergo 3 stelle venezia ventilatori da soffitto vortice caffettiera 3 xuxa meneguel pelada dellera che gioia vivere corriere annunci bartali movie xxx una pallottola per roy video scandalo cantante atto sessuale muschio mora nuova bmw 120 auto nuove blue shark cordless tipos de energia miyako satoshi o zone dragostea din tei mix dj ross keys viaccess2 arabesque u2 how to dismantle an atomic bomb software red hat kingston dimm ddr 512mb 266mhz x 530 seat ibiza xplod serena grandee fratello download programma nokia 6600 golf v6 4motion kamasu kodak ultima loro confezioni snc vixena fotocamera digitali canon suoneria loghi nokia feri da stiro a vapore bosch canon 17 85 www corrado com themescene h57 despinavandi opa opa heiligenblut peppiniello en sol natural million itali under 21 b 820 deni moore www bologna aereoporto it pam anderson sextape jvc gr those lazy hazy crazy days of summer wsxga portatili bassem sqirting hp 2124 film erotici no hard hyper hammer braccio di supporto speed control pioneer doppiodin vignate hotel farini i grandi tenori deheading comune roma it toshiba m40x 266 hdd 2 5 80gb jennifer lopez com mx veronica maya senza tregua il rocknroll dred devil il cuore in gol guta fac orice eyes of tiger survivor custodia mio 168 gps associazione culturale regent palace pentax optio s4i ragazza eamon fuck it alimentazione bambini images de noel a colorier ethernet 10baset mori de tranzas masterizzatori dvd esterno usb remote camera pt6 free disney ringtones mobile ringtones motorola ringtones buy ultram nextel ringtones vigrx cheap skelaxin cingular ringtones philips ringtones cheap imitrex free voice ringtones vigrx online free rap ringtones cheap lotrel tv ringtones fluoxetine online free animal ringtones cheap darvocet synthroid free anime ringtones free ringtones free free ringtones car rental alprazolam online telus ringtones pantech ringtones free sharp ringtones xanax free humour ringtones cipro cheap buspar ultracet online buy zocor free midi ringtones ortho online rave ringtones free christian ringtones xenical online free wwe ringtones fioricet cheap ativan sildenafil online buy hoodia free samsung ringtones cheap ativan provigil effexor online free metal ringtones tracfone ringtones tramadol online free sexy ringtones techno ringtones real ringtones tamiflu online cheap fluoxetine cheap paxil rap ringtones jazz ringtones cheap ephedra cheap vardenafil cheap lorazepam cheap fioricet free kyocera ringtones free sexy ringtones online soma cheap flagyl verizon wireless ringtones free sprint ringtones lotrel online cheap amitriptyline monophonic ringtones cheap celebrex mobile ringtones free techno ringtones protonix online cheap zoloft free mp3 ringtones cheap diethylpropion free verizon ringtones free t-mobile ringtones cheap meridia valium online free music ringtones cheap hydrocodone talking ringtones propecia online cheap soma free tv ringtones free sexy ringtones online phentermine cipro online cheap flonase ephedrine online zanaflex cheap ionamin amitriptyline online cheap klonopin cheap zanaflex student loan glucophage ericsson ringtones free tracfone ringtones rave ringtones cheap diazepam free alcatel ringtones sharp ringtones but diovan cheap tenuate venlafaxine online pharmacy online 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

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.