Difference between revisions of "Enable WebDAV"

From AwkwardTV
Jump to: navigation, search
m
m (reverting spammed page)
 
(24 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[http://italnet.net.cn/img/ledy/ ledy] [http://zodip.info/description/moda-uomo.htm moda uomo 2005] [http://nibko.info/data/www-autostradale.htm www autostradale it] [http://zodip.info/description/settimo-torinese.htm settimo torinese] [http://italnet.net.cn/img/eau-sauvage/ eau sauvage] [http://zodip.info/description/dove-l.htm dove l amore] [http://hangzhau.cn/html/thomson-dthe/ thomson dth109e] [http://italnet.net.cn/img/house-of/ house of the rising sun] [http://zodip.info/description/nuove-immagini.htm nuove immagini di lunar legends] [http://italnet.net.cn/img/gamecube-come/ gamecube come il super nintendo] [http://zodip.info/description/jack-london.htm jack london zanna bianca] [http://italnet.net.cn/img/motoraduno-in/ motoraduno in campania] [http://nibko.info/data/www-cuore.htm www cuore selvaggio com] [http://nibko.info/data/because.htm because] [http://nibko.info/data/metodi-finanziari.htm metodi finanziari] [http://zodip.info/description/dainese-jet.htm dainese jet] [http://italnet.net.cn/img/ecoloto/ ecoloto] [http://hangzhau.cn/html/daniele-mondello/ daniele mondello] [http://nibko.info/data/hotel-suite.htm hotel suite duomo] [http://zodip.info/description/tastiera-wireless.htm tastiera wireless mouse optical] [http://puli.org.cn/web/darfor/ darfor] [http://zodip.info/description/concerto-di.htm concerto di zucchero dove e quando] [http://puli.org.cn/web/cuffie-sennheiser/ cuffie sennheiser hd 555] [http://hangzhau.cn/html/fattura-excel/ fattura excel] [http://hangzhau.cn/html/publiweb-adulti/ publiweb adulti] [http://hangzhau.cn/html/ragazze-troie/ ragazze troie 18 anni] [http://hangzhau.cn/html/bossanova-standard/ bossanova standard] [http://italnet.net.cn/img/jeans-diesel/ jeans diesel cherone] [http://nibko.info/data/ddr-vdata.htm ddr vdata] [http://nibko.info/data/jail-hose.htm jail hose rock] [http://zodip.info/description/marechiaro.htm marechiaro] [http://hangzhau.cn/html/hp-laserjet/ hp laserjet 4650dn] [http://puli.org.cn/web/bojan-marovic/ bojan marovic] [http://zodip.info/description/mel-gibson.htm mel gibson si fa in due] [http://nibko.info/data/oye.htm oye] [http://puli.org.cn/web/e-type/ e type] [http://zodip.info/description/the-alex.htm the alex page] [http://hangzhau.cn/html/otros/ otros] [http://puli.org.cn/web/moto-yamaha/ moto yamaha fz6 fazer] [http://nibko.info/data/palm-lifedrive.htm palm lifedrive] [http://zodip.info/description/squadra-francese.htm squadra francese nuda] [http://nibko.info/data/hard-disk.htm hard disk maxtor 200 gb serial ata] [http://italnet.net.cn/img/blue-move/ blue move on] [http://nibko.info/data/i-pantaloni.htm i pantaloni jeans] [http://zodip.info/description/find-people.htm find people in jail] [http://puli.org.cn/web/hotel-villa/ hotel villa stanley] [http://zodip.info/description/gallery-picture.htm gallery picture tranny] [http://puli.org.cn/web/rio-carbon/ rio carbon pearl] [http://puli.org.cn/web/univison/ univison] [http://hangzhau.cn/html/a-testa/ a testa alta film dvd] [http://nibko.info/data/km-diesel.htm km0 diesel] [http://italnet.net.cn/img/il-rodeo/ il rodeo] [http://zodip.info/description/proximus-tune.htm proximus tune] [http://hangzhau.cn/html/tv-box/ tv box terrestre] [http://italnet.net.cn/img/p-peg/ p3 peg perego] [http://zodip.info/description/midi-fili.htm midi fili accetta padre] [http://italnet.net.cn/img/dolby-digital/ dolby digital lg] [http://nibko.info/data/pagine-bianche.htm pagine bianche calabria] [http://zodip.info/description/telefono-scambisti.htm telefono scambisti] [http://hangzhau.cn/html/billy-bob/ billy bob thornton] [http://nibko.info/data/dithering.htm dithering] [http://zodip.info/description/ballo-del.htm ballo del can can] [http://nibko.info/data/torinomilano.htm torino-milano] [http://italnet.net.cn/img/sereno-hospital/ sereno hospital] [http://puli.org.cn/web/philips-/ philips 42 pollici plasma] [http://nibko.info/data/volkswagen-.htm volkswagen          polo 1.0 3p.] [http://puli.org.cn/web/photos-lady/ photos lady d] [http://hangzhau.cn/html/quiero/ quiero] [http://puli.org.cn/web/eroe-del/ eroe del silenzio] [http://nibko.info/data/banca-san.htm banca san paolo imi] [http://nibko.info/data/worms-mayhem.htm worms mayhem pc] [http://hangzhau.cn/html/pensando-enti/ pensando enti] [http://zodip.info/description/we-will.htm we will rocky you] [http://hangzhau.cn/html/adattatore-per/ adattatore per 5 1] [http://nibko.info/data/velvet-.htm velvet 10 motivi] [http://italnet.net.cn/img/igiene-dentale/ igiene dentale] [http://zodip.info/description/zalman-zmb.htm zalman zm400b] [http://puli.org.cn/web/miele-w/ miele w 247] [http://hangzhau.cn/html/hotel-porto/ hotel porto alegre] [http://italnet.net.cn/img/muvo-n/ muvo n200 1 gb] [http://nibko.info/data/lcd-.htm lcd 28 monitor] [http://hangzhau.cn/html/calma-sanguefreddo/ calma sanguefreddo] [http://zodip.info/description/incontro-orbetello.htm incontro orbetello] [http://italnet.net.cn/img/negozi-hi/ negozi hi fi italia] [http://zodip.info/description/scontro-di.htm scontro di titani] [http://nibko.info/data/lo-strano.htm lo strano destino] [http://nibko.info/data/amplificatore-home.htm amplificatore home theater] [http://nibko.info/data/assembler.htm assembler] [http://hangzhau.cn/html/nuovi-annunci/ nuovi annunci] [http://puli.org.cn/web/agp-x/ agp 4x dvi] [http://italnet.net.cn/img/videoclip-eifel/ videoclip eifel 65] [http://zodip.info/description/gallo-maltese.htm gallo maltese] [http://puli.org.cn/web/brendel-beethoven/ brendel beethoven] [http://zodip.info/description/programmi-da.htm programmi da installare] [http://nibko.info/data/marcello-rosa.htm marcello rosa] [http://nibko.info/data/camera-varese.htm camera varese] [http://zodip.info/description/internet-black.htm internet black jack] [http://zodip.info/description/panasonic-nv.htm panasonic nv gs22] [http://puli.org.cn/web/la-musica/ la musica dei poveri] [http://nibko.info/data/xuxa-fucking.htm xuxa fucking] [http://italnet.net.cn/img/donne-mature/ donne mature campania] [http://zodip.info/description/maniglia-design.htm maniglia design] [http://hangzhau.cn/html/l-americano/ l americano decapitato dagli arabi] [http://zodip.info/description/software-gestione.htm software gestione condominio] [http://hangzhau.cn/html/ragazzo-nudo/ ragazzo nudo] [http://zodip.info/description/webcam-creative.htm webcam creative labs] [http://zodip.info/description/telefono-fisso.htm telefono fisso siemens 2020] [http://puli.org.cn/web/palermo-praga/ palermo praga biglietti aerei] [http://zodip.info/description/eamon-karaoke.htm eamon karaoke] [http://zodip.info/description/riassunti-verga.htm riassunti verga] [http://hangzhau.cn/html/qtek-/ qtek 2020 caricabatteria] [http://hangzhau.cn/html/soldati-a/ soldati a cavallo] [http://hangzhau.cn/html/saint-ropez/ saint ropez] [http://nibko.info/data/nicolae-guta.htm nicolae guta] [http://puli.org.cn/web/atlantis-monitor/ atlantis monitor lcd] [http://puli.org.cn/web/camerons-closet/ camerons closet] [http://zodip.info/description/euroclub.htm euroclub] [http://hangzhau.cn/html/mina-the/ mina the platinum collection 2004 cd] [http://zodip.info/description/rex-fms.htm rex fms 051 x] [http://nibko.info/data/lancia-musa.htm lancia musa km zero] [http://hangzhau.cn/html/auricolari-audio/ auricolari audio sony] [http://zodip.info/description/stampante-laser.htm stampante laser ethernet postscript] [http://puli.org.cn/web/pooh-dove/ pooh dove sono gli altri tre] [http://italnet.net.cn/img/kyosho-/ kyosho - inferno 777] [http://puli.org.cn/web/nero-mpeg/ nero mpeg2 plugins] [http://zodip.info/description/video-dvd.htm video dvd] [http://hangzhau.cn/html/fiver/ fiver] [http://zodip.info/description/pbm-.htm pbm  spa] [http://hangzhau.cn/html/florat/ florat] [http://hangzhau.cn/html/petroliere/ petroliere] [http://zodip.info/description/king-of.htm king of persia] [http://puli.org.cn/web/jalwa/ jalwa 4] [http://zodip.info/description/joypad-evolution.htm joypad evolution] [http://hangzhau.cn/html/immagini-e/ immagini e foto] [http://nibko.info/data/scarpe-donna.htm scarpe donna sergio rossi] [http://zodip.info/description/download-tesi.htm download tesi] [http://hangzhau.cn/html/una-vita/ una vita non basta] [http://zodip.info/description/aspire.htm aspire 1200] [http://nibko.info/data/www-paso.htm www paso adelante it] [http://hangzhau.cn/html/let-go/ let go lavigne] [http://zodip.info/description/sospirolo.htm sospirolo] [http://italnet.net.cn/img/massaggio-schiena/ massaggio schiena] [http://zodip.info/description/ladri-per.htm ladri per amore] [http://italnet.net.cn/img/scenario-sociale/ scenario sociale rivoluzione industriale] [http://puli.org.cn/web/waddington/ waddington] [http://puli.org.cn/web/ups-/ ups 1200 va] [http://hangzhau.cn/html/come-fare/ come fare il pane] [http://nibko.info/data/bigol.htm bigol] [http://zodip.info/description/acer-n.htm acer n50 accessori gps] [http://puli.org.cn/web/vini-bianchi/ vini bianchi frizzanti dolci] [http://nibko.info/data/o-zone.htm o zone mia a hii] [http://zodip.info/description/sylvester-stallone.htm sylvester stallone] [http://nibko.info/data/organizzazione-delle.htm organizzazione delle amministrazioni pur] [http://hangzhau.cn/html/bluethoot-cuffie/ bluethoot cuffie] [http://puli.org.cn/web/overlap/ overlap] [http://zodip.info/description/king-of.htm king of] [http://hangzhau.cn/html/la-maschera/ la maschera di vetro. la serie completa] [http://hangzhau.cn/html/gianna-nannini/ gianna nannini bello e impossibile] [http://puli.org.cn/web/immagini-sulla/ immagini sulla pallavolo] [http://hangzhau.cn/html/orari-messe/ orari messe basilica san pietro a roma] [http://italnet.net.cn/img/bambola-barbie/ bambola barbie] [http://italnet.net.cn/img/philips-widescreen/ philips widescreen pixel plus] [http://nibko.info/data/death-live.htm death. live il l.a.] [http://nibko.info/data/valex-ghibli.htm valex ghibli] [http://italnet.net.cn/img/emma-daumas/ emma daumas tu seras] [http://italnet.net.cn/img/canon-macchina/ canon macchina fotografica reflex] [http://puli.org.cn/web/roig-jaume/ roig, jaume] [http://italnet.net.cn/img/cobra-style/ cobra style] [http://puli.org.cn/web/roberto-rocco/ roberto rocco] [http://hangzhau.cn/html/sigma-mm/ sigma 24-70mm f2 8 ex dg] [http://zodip.info/description/fuyu.htm fuyu] [http://nibko.info/data/la-rondine.htm la rondine di mango] [http://nibko.info/data/sloc.htm sloc] [http://hangzhau.cn/html/gioco-free/ gioco free computer] [http://hangzhau.cn/html/moscio/ moscio] [http://italnet.net.cn/img/apple-auricolari/ apple auricolari in ear] [http://hangzhau.cn/html/arredamento-/ arredamento - forniture e accessori] [http://zodip.info/description/batteria-nec.htm batteria nec db7000] [http://nibko.info/data/mypal-a.htm mypal a620 asus] [http://puli.org.cn/web/peja-co/ peja co cie boli] [http://puli.org.cn/web/etta-scollo/ etta scollo] [http://nibko.info/data/www-gozo.htm www gozo sat com] [http://italnet.net.cn/img/il-nokia/ il nokia n-gage tour oggi a milano] [http://nibko.info/data/nike-spinning.htm nike spinning contagious] [http://puli.org.cn/web/carolina-e/ carolina e tommy] [http://hangzhau.cn/html/accessorio-alcatel/ accessorio alcatel] [http://puli.org.cn/web/davide-vigneri/ davide vigneri] [http://zodip.info/description/o-latitante.htm o latitante] [http://nibko.info/data/maria-callas.htm maria callas] [http://italnet.net.cn/img/animali-da/ animali da crescere] [http://italnet.net.cn/img/grattugia-professionale/ grattugia professionale] [http://nibko.info/data/www-plyrics.htm www plyrics com] [http://zodip.info/description/giochini-per.htm giochini per pc] [http://nibko.info/data/ungareti.htm ungareti] [http://zodip.info/description/scale-in.htm scale in ferro] [http://nibko.info/data/myscene-om.htm myscene om] [http://zodip.info/description/ho-voglia.htm ho voglia di innamorarmi] [http://puli.org.cn/web/richard-matheson/ richard matheson libri] [http://nibko.info/data/sito-web.htm sito web umbria] [http://nibko.info/data/topless-miss.htm topless miss romania] 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 ==
  
I won't repeat what has already been said here: http://www.appletvhacks.net/200
+
I won't repeat what has already been said here: http://www.appletvhacks.net/2007/03/25/apache-running-on-apple-tv/
5A8
 
7/03/25/apache-running-on-apple-tv/
 
  
 
== Configure Apache ==
 
== Configure Apache ==
Line 52: Line 50:
 
And connect with the URL <nowiki>http://IPADDRESS/media/</nowiki> and that should be all there is to it.  
 
And connect with the URL <nowiki>http://IPADDRESS/media/</nowiki> and that should be all there is to it.  
  
<font color=red>B
+
<font color=red>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!</font> You can look at basic Allow/Deny directives in Apache, or setting up password protection. There are numerous guides out there.
5A8
 
e 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!</font> You can look at basic Allow/Deny directives in Apache, or setting up password protection. There are numerous guides out there.
 
  
 
[[Category:How-to]]
 
[[Category:How-to]]

Latest revision as of 16:41, 23 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.