Difference between revisions of "Enable WebDAV"

From AwkwardTV
Jump to: navigation, search
m
Line 1: Line 1:
[http://bigliettivisita.kittiss.cn/index.html biglietti visita] [http://wonted.cn/www-mix107-fm/index.html www mix107 fm com] [http://kitmun.cn/yamaha-ry20.html yamaha ry20] [http://knock-knock.cn/www-pamela/index.html www pamela anderson it] [http://knock-knock.cn/www-ferroviedellostato/index.html www ferroviedellostato ot] [http://quoits.cn/zero-a.html zero a] [http://wonted.cn/www-spa-it/index.html www spa it] [http://benpensano.romanikki.cn/index.html benpensano] [http://snailtail.cn/y-lenox-los/index.html y lenox los amo] [http://botonesanimado.romanikki.cn/index.html botones animado] [http://snailtail.cn/yanni-live/index.html yanni live at acropolis] [http://blueallrise.midways.cn/index.html blue all rise] [http://kitmun.cn/you-had-me.html you had me] [http://wonted.cn/www-visitczechia/index.html www visitczechia it] [http://quoits.cn/zanzariere.html zanzariere] [http://kitmun.cn/zabranjeno-pusenje.html zabranjeno pusenje ceca] [http://beachvolleyindoorsavona.kittiss.cn/index.html beach volley indoor savona] [http://wonted.cn/wonderful-ashanti/index.html wonderful ashanti] [http://quoits.cn/ammazzavampiri.html ammazzavampiri 2] [http://ballerinahose.clung.cn/index.html ballerina hose] [http://betslan.midways.cn/index.html betslan] [http://knock-knock.cn/www-wutch/index.html www wutch it] [http://bigliettoauguricompleanno.midways.cn/index.html biglietto auguri compleanno] [http://bollettinoregionelazio.fast-road.cn/index.html bollettino regione lazio] [http://snailtail.cn/www-ricercaperfetta/index.html www ricercaperfetta it] [http://quoits.cn/zuckero.html zuckero] [http://wonted.cn/www-mir-com/index.html www mir com] [http://brianadamslife.romanikki.cn/index.html brian adams life] [http://wonted.cn/www-te-amo/index.html www te amo com] [http://brody.midways.cn/index.html brody] [http://kitmun.cn/z-jones.html z jones] [http://kitmun.cn/yuve.html yuve] [http://snailtail.cn/www-spiderman/index.html www spiderman com] [http://bigtitpatrolcom.kittiss.cn/index.html bigtitpatrol com] [http://bedbreakfastsiracusa.kittiss.cn/index.html bed breakfast siracusa] [http://snailtail.cn/yanni-keys-to/index.html yanni keys to imagination] [http://britneycalatita.fast-road.cn/index.html britney calatita] [http://birraafiumi.clung.cn/index.html birra a fiumi] [http://quoits.cn/alexandre....html alexandre... un uomo felice] [http://quoits.cn/arriva-sabata!....html arriva sabata!...] [http://bibliotepordeno.romanikki.cn/index.html bibliote pordeno] [http://knock-knock.cn/www-nato/index.html www nato it] [http://baustelleloveaffair.kittiss.cn/index.html baustelle love affair] [http://quoits.cn/zero-assoluto.html zero assoluto mezz ora video] [http://knock-knock.cn/www-veneziani/index.html www veneziani yachting] [http://quoits.cn/acapulco--.html acapulco - anche gli eroi sono assassini] [http://belledonnecom.kittiss.cn/index.html belle donne com] [http://bagioni.kittiss.cn/index.html bagioni] [http://bonjoby.clung.cn/index.html bon joby] [http://blondthang.romanikki.cn/index.html blond thang] [http://knock-knock.cn/www-lemarche/index.html www lemarche it] [http://buenapresentacion.midways.cn/index.html buena presentacion] [http://boystation.fast-road.cn/index.html boystation] [http://quoits.cn/amo-non-amo.html amo non amo] [http://bossonalittletime.clung.cn/index.html bosson a little time] [http://knock-knock.cn/www-altair4/index.html www altair4 it] [http://brufolisulmento.clung.cn/index.html brufoli sul mento] [http://snailtail.cn/xc/index.html xc] [http://snailtail.cn/www-gta-vice/index.html www gta vice city it] [http://quoits.cn/zalica.html zalica] [http://bondcon.clung.cn/index.html bondcon] [http://blackrebelmotorcycle.clung.cn/index.html black rebel motorcycle] [http://barbieresiviglia.romanikki.cn/index.html barbiere siviglia] [http://bellissimeragazze.clung.cn/index.html bellissime ragazze] [http://snailtail.cn/x-ray-murder/index.html x ray murder boom boom] [http://quoits.cn/zsuzsa.html zsuzsa csisztu] [http://breatheeasybluespartiti.kittiss.cn/index.html breathe easy blue spartiti] [http://bikenstock.romanikki.cn/index.html bikenstock] [http://wonted.cn/what-ever/index.html what ever] [http://wonted.cn/www-banamex/index.html www banamex] [http://bangvan.romanikki.cn/index.html bangvan] [http://knock-knock.cn/www-nuoto-it/index.html www nuoto it] [http://blackcars.midways.cn/index.html black cars] [http://bubblinblue.midways.cn/index.html bubblin blue] [http://knock-knock.cn/www-goya/index.html www goya com] [http://snailtail.cn/yu-gi-oh-sito/index.html yu gi oh sito ufficiale] [http://quoits.cn/accadde-a-berlino.html accadde a berlino] [http://snailtail.cn/xxxnx/index.html xxxnx] [http://benladen.romanikki.cn/index.html ben laden] [http://knock-knock.cn/www-pompini/index.html www pompini it] [http://belindavideo.romanikki.cn/index.html belinda video] [http://snailtail.cn/xp-pack/index.html xp pack] [http://knock-knock.cn/www-internet/index.html www internet exploer com] [http://bisio.fast-road.cn/index.html bisio] [http://brucewilli.midways.cn/index.html bruce willi] [http://quoits.cn/ztk-crew.html ztk crew] [http://blueleeryan.kittiss.cn/index.html blue lee ryan] [http://bmj.fast-road.cn/index.html bmj] [http://blankandjons.kittiss.cn/index.html blank and jons] [http://wonted.cn/www-primerahora/index.html www primerahora com] [http://biddibiboddibiboo.midways.cn/index.html biddibi boddibi boo] [http://knock-knock.cn/web-chat/index.html web chat] [http://knock-knock.cn/www-factous-it/index.html www factous it] [http://bobsinclair.romanikki.cn/index.html bobsinclair] [http://buscadelatingchat.midways.cn/index.html busca de lating chat] [http://biatore.fast-road.cn/index.html biatore] [http://batifun.kittiss.cn/index.html batifun] [http://boat.fast-road.cn/index.html boat] [http://wonted.cn/www-raol-bova/index.html www raol bova it] [http://butleryancy.kittiss.cn/index.html butler yancy] [http://snailtail.cn/xxxmanga-video/index.html xxxmanga video] [http://beansandbeer.kittiss.cn/index.html beans and beer] [http://quoits.cn/arthur-and-the.html arthur and the minimoys] [http://bachatahits.romanikki.cn/index.html bachatahits] [http://buonomo.midways.cn/index.html buonomo] [http://knock-knock.cn/www-chibolitas/index.html www chibolitas com] [http://wonted.cn/www-naturalproject/index.html www naturalproject it] [http://snailtail.cn/yahir/index.html yahir] [http://quoits.cn/azzardo.html azzardo] [http://bruttatroia.midways.cn/index.html brutta troia] [http://baia.fast-road.cn/index.html baia] [http://belozogluemre.romanikki.cn/index.html belozoglu emre] [http://boogiepimps.fast-road.cn/index.html boogie pimps] [http://wonted.cn/www-pro/index.html www pro it] [http://snailtail.cn/x-gonna-give/index.html x gonna give to ya] [http://besnikët.clung.cn/index.html besnikët] [http://quoits.cn/zelko-joksimovic.html zelko joksimovic] [http://wonted.cn/www-enac-italia/index.html www enac italia it] [http://snailtail.cn/www-residence/index.html www residence playa it] [http://buonaniversarioaznavour.clung.cn/index.html buon aniversario aznavour] [http://snailtail.cn/www-sarannofamosi/index.html www sarannofamosi it] [http://quoits.cn/zumbon.html zumbon] [http://bassoelettricoslap.kittiss.cn/index.html basso elettrico slap] [http://quoits.cn/alla-mia.html alla mia cara mamma nel giorno del suo compleanno] [http://balleriniluci.romanikki.cn/index.html ballerini luci] [http://burgvideo.fast-road.cn/index.html burg video] [http://kitmun.cn/youraisemeup.html youraisemeup] [http://knock-knock.cn/www-foregin/index.html www foregin brid com] [http://bootsybootsybomm.midways.cn/index.html bootsy bootsy bomm] [http://bennihill.romanikki.cn/index.html benni hill] [http://kitmun.cn/yeti-sports.html yeti sports] [http://beforeyouwalkoutofmylife.fast-road.cn/index.html before you walk out of my life] [http://quoits.cn/allan-quatermain.html allan quatermain 2. gli avventurieri della città perduta] [http://bancamontedeipaschi.romanikki.cn/index.html banca monte dei paschi] [http://wonted.cn/www-cariprpc/index.html www cariprpc it] [http://snailtail.cn/www-terra-net/index.html www terra net] [http://bombayserailchali.fast-road.cn/index.html bombay se rail chali] [http://bersanisamuele.midways.cn/index.html bersani samuele] [http://wonted.cn/www-ford-com/index.html www ford com] [http://basepavarotti.clung.cn/index.html base pavarotti] [http://snailtail.cn/yagaymackie/index.html yagaymackie] [http://bennybenas.fast-road.cn/index.html benny benas] [http://knock-knock.cn/www-mobilede/index.html www mobilede it] [http://bacisafficitralestar.romanikki.cn/index.html baci saffici tra le star] [http://kitmun.cn/you-should.html you should really know enya shola ama na] [http://kitmun.cn/yandim.html yandim] [http://bonnietylerturnaround.clung.cn/index.html bonnie tyler turn around] [http://beautifulboy.romanikki.cn/index.html beautiful boy] [http://knock-knock.cn/we-to-pozui/index.html we to pozui] [http://blekmirror.midways.cn/index.html blek mirror] WebDAV is supported by default in both Mac and Windows. So, it will be easier to set up in a heterogeneous environment than an [[Enable_AFP_Server|AFP]] or [[Enable_FTP_Server|FTP]] server.
+
WebDAV is supported by default in both Mac and Windows. So, it will be easier to set up in a heterogeneous environment than an [[Enable_AFP_Server|AFP]] or [[Enable_FTP_Server|FTP]] server.
  
 
== Install Apache ==
 
== Install Apache ==

Revision as of 04:43, 11 September 2007

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.