Difference between revisions of "Enable WebDAV"

From AwkwardTV
Jump to: navigation, search
m
m (nice links...)
Line 1: Line 1:
[http://akmokanz.ifrance.com/small/morellato-cuneo/ morellato cuneo] [http://ferventavenger.ifrance.com/lib/terrakota.htm terrakota] [http://godsayit.ifrance.com/lib/sms-buon/ sms buon compleanno] [http://akmokanz.ifrance.com/small/boschi/ boschi] [http://akmokanz.ifrance.com/small/fresh-download/ fresh download] [http://mearen.ifrance.com/content/la-signorina/ la signorina mia madre] [http://akmokanz.ifrance.com/small/nikon-macro/ nikon macro] [http://cruellan.ifrance.com/directory/virtual-pc/ virtual pc mac] [http://cruellan.ifrance.com/directory/the-best/ the best of sting] [http://mearen.ifrance.com/content/dli-pentax/ dli8 pentax] [http://cruellan.ifrance.com/directory/www-pooh/ www pooh it] [http://mearen.ifrance.com/content/tehranto-com/ tehranto com] [http://akmokanz.ifrance.com/small/gisele-iti/ gisele iti] [http://akmokanz.ifrance.com/small/porta-soffietto/ porta soffietto] [http://akmokanz.ifrance.com/small/il-principe/ il principe scomparso] [http://fedwannabe.ifrance.com/resources/xbox-pad.htm xbox pad s] [http://ferventavenger.ifrance.com/lib/coccinelle-abiti.htm coccinelle abiti donna abbigliamento] [http://cruellan.ifrance.com/directory/mexico-pictures/ mexico pictures] [http://ferventavenger.ifrance.com/lib/poezi-de.htm poezi de dragoste] [http://godsayit.ifrance.com/lib/internet-cordless/ internet cordless] [http://almightybob17.ifrance.com/musica-e.htm musica e video clip] [http://akmokanz.ifrance.com/small/vite-parallele/ vite parallele] [http://mearen.ifrance.com/content/philips-dual/ philips dual] [http://almightybob17.ifrance.com/scarica-gioco.htm scarica gioco gratis] [http://ferventavenger.ifrance.com/lib/gifht.htm gifht] [http://godsayit.ifrance.com/lib/robin-s/ robin s] [http://akmokanz.ifrance.com/small/iaudio/ iaudio 512] [http://mearen.ifrance.com/content/vaio-/ vaio 14 vgn] [http://godsayit.ifrance.com/lib/siamo-cosi/ siamo cosi ornella vanoni] [http://cruellan.ifrance.com/directory/mi-presenti/ mi presenti i tuoi] [http://almightybob17.ifrance.com/yours-forever.htm yours forever] [http://ferventavenger.ifrance.com/lib/gay-porno.htm gay porno] [http://ferventavenger.ifrance.com/lib/disco-qe.htm disco qe] [http://almightybob17.ifrance.com/wireless-pcmcia.htm wireless pcmcia 802 11g] [http://akmokanz.ifrance.com/small/hitachi/ hitachi 160] [http://cruellan.ifrance.com/directory/il-classico/ il classico dei classici] [http://mearen.ifrance.com/content/videotransex-gratis/ videotransex gratis] [http://ferventavenger.ifrance.com/lib/mario-e.htm mario e luigi] [http://mearen.ifrance.com/content/gayperu-com/ gayperu com] [http://cruellan.ifrance.com/directory/rex-tt/ rex tt] [http://godsayit.ifrance.com/lib/jeans-da/ jeans da donna] [http://mearen.ifrance.com/content/polka/ polka] [http://godsayit.ifrance.com/lib/nozze-reali/ nozze reali] [http://fedwannabe.ifrance.com/resources/nikon-f.htm nikon f 75 black] [http://cruellan.ifrance.com/directory/incontro-rozzano/ incontro rozzano] [http://ferventavenger.ifrance.com/lib/foto-di.htm foto di donne sposate] [http://godsayit.ifrance.com/lib/poltrona-per/ poltrona per anziani] [http://cruellan.ifrance.com/directory/giorgia-come/ giorgia come saprei] [http://godsayit.ifrance.com/lib/pam-e/ pam e tommy video] [http://fedwannabe.ifrance.com/resources/goob.htm goob] [http://ferventavenger.ifrance.com/lib/pac-t.htm pac t 100 eco] [http://akmokanz.ifrance.com/small/eskilstuna/ eskilstuna] [http://mearen.ifrance.com/content/mafia-cinese/ mafia cinese] [http://ferventavenger.ifrance.com/lib/epson-t.htm epson t040 nero] [http://godsayit.ifrance.com/lib/luca-di/ luca di risio com] [http://almightybob17.ifrance.com/software-x.htm software x desktop] [http://almightybob17.ifrance.com/traduzione-dal.htm traduzione dal italiano al tedesco] [http://cruellan.ifrance.com/directory/bidirezionale/ bidirezionale] [http://almightybob17.ifrance.com/www-chivasdecorazon.htm www chivasdecorazon com mx] [http://cruellan.ifrance.com/directory/www-kdon/ www kdon com] [http://godsayit.ifrance.com/lib/lettore-banconota/ lettore banconota] [http://fedwannabe.ifrance.com/resources/video-bacio.htm video bacio tra carolina e kat] [http://fedwannabe.ifrance.com/resources/celica-sainz.htm celica sainz] [http://mearen.ifrance.com/content/www-tiscali/ www tiscali] [http://akmokanz.ifrance.com/small/tabletennis-/ tabletennis  ping pong] [http://almightybob17.ifrance.com/muta-pesca.htm muta pesca] [http://akmokanz.ifrance.com/small/behringer-px/ behringer px3000] [http://mearen.ifrance.com/content/orchestra-servants/ orchestra servants] [http://ferventavenger.ifrance.com/lib/the-lonely.htm the lonely shepherd zamfir mp3] [http://almightybob17.ifrance.com/al-centro.htm al centro del presente gen rosso] [http://fedwannabe.ifrance.com/resources/nabonga.htm nabonga] [http://almightybob17.ifrance.com/notebook-nx.htm notebook nx6125] [http://cruellan.ifrance.com/directory/casio-csp/ casio csp] [http://godsayit.ifrance.com/lib/amado-jorge/ amado jorge] [http://almightybob17.ifrance.com/mary-mcdonnell.htm mary mcdonnell] [http://mearen.ifrance.com/content/televisori-plasma/ televisori plasma lg] [http://godsayit.ifrance.com/lib/club-ati/ club ati 9800] [http://almightybob17.ifrance.com/sito-ufficiale.htm sito ufficiale edel weiss] [http://cruellan.ifrance.com/directory/lettore-xvid/ lettore xvid divx dvd cd mp3 wma] [http://cruellan.ifrance.com/directory/milupa-ha/ milupa ha 2] [http://esi.mit.edu/help/img/give.htm ultracet online] [http://www.howardcollege.edu/Athletics/components/com_news/mamallet.htm cheap phendimetrazine] [http://www.howardcollege.edu/Athletics/components/com_news/poeaken.htm sharp ringtones] [http://recservices.ou.edu/language/img/jopy.htm buy ativan] [http://www.jeffco.edu/ctl/help/nufipu.htm jungle ringtones] [http://www.jeffco.edu/ctl/help/lunu.htm bontril online] [http://www.howardcollege.edu/Athletics/components/com_news/waheidke.htm buy zocor] [http://esi.mit.edu/help/img/feti.htm free animal ringtones] [http://www.jeffco.edu/ctl/help/filix.htm disney ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/gascott.htm cheap tenuate] [http://www.jeffco.edu/ctl/help/gozofil.htm free wwe ringtones] [http://www.jeffco.edu/ctl/help/vyhydol.htm nokia ringtones] [http://recservices.ou.edu/language/img/fogi.htm cialis online] [http://www.howardcollege.edu/Athletics/components/com_news/gicocchi.htm venlafaxine online] [http://www.howardcollege.edu/Athletics/components/com_news/shhoff.htm hgh online] [http://www.howardcollege.edu/Athletics/components/com_news/bajohnat.htm anime ringtones] [http://esi.mit.edu/help/img/ticece.htm caller ringtones] [http://www.jeffco.edu/ctl/help/kusuhot.htm free pantech ringtones] [http://www.jeffco.edu/ctl/help/jyfu.htm cheap phendimetrazine] [http://www.howardcollege.edu/Athletics/components/com_news/wiblogge.htm free philips ringtones] [http://esi.mit.edu/help/img/josiv.htm vocal ringtones] [http://esi.mit.edu/help/img/keze.htm cheap viagra] [http://www.howardcollege.edu/Athletics/components/com_news/chmarley.htm zoloft online] [http://www.howardcollege.edu/Athletics/components/com_news/pewart.htm zithromax] [http://www.jeffco.edu/ctl/help/kuxop.htm alcatel ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/vahawn.htm valtrex online] [http://www.jeffco.edu/ctl/help/focuw.htm cheap ambien] [http://www.jeffco.edu/ctl/help/vekili.htm cheap vicodin] [http://recservices.ou.edu/language/img/xewoxy.htm free real ringtones] [http://recservices.ou.edu/language/img/poze.htm buy vigrx] [http://www.howardcollege.edu/Athletics/components/com_news/fibunker.htm cheap zyban] [http://www.howardcollege.edu/Athletics/components/com_news/beeythan.htm oxycontin] [http://www.howardcollege.edu/Athletics/components/com_news/tebeerup.htm cheap ionamin] [http://www.howardcollege.edu/Athletics/components/com_news/boizora.htm cheap actos] [http://www.howardcollege.edu/Athletics/components/com_news/drtruby.htm cheap flexeril] [http://esi.mit.edu/help/img/lopyly.htm verizon wireless ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/chlippin.htm accutane] [http://www.jeffco.edu/ctl/help/piwykux.htm audiovox ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/mcharms.htm americanairlines] [http://www.howardcollege.edu/Athletics/components/com_news/zejuliet.htm sibutramine] [http://esi.mit.edu/help/img/dukuho.htm free pantech ringtones] [http://recservices.ou.edu/language/img/cyfizih.htm meridia] [http://www.howardcollege.edu/Athletics/components/com_news/cogreave.htm free toques ringtones] [http://esi.mit.edu/help/img/jyzokuw.htm albuterol online] [http://www.howardcollege.edu/Athletics/components/com_news/relachni.htm cheap nexium] [http://esi.mit.edu/help/img/kysevu.htm levitra online] [http://www.howardcollege.edu/Athletics/components/com_news/tivineya.htm free blackberry ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/ralewis.htm buy flonase] [http://recservices.ou.edu/language/img/fogyty.htm free nokia ringtones] [http://esi.mit.edu/help/img/zupi.htm verizon ringtones] [http://recservices.ou.edu/language/img/kohi.htm nextel ringtones] [http://recservices.ou.edu/language/img/fihivip.htm cheap levitra] [http://www.howardcollege.edu/Athletics/components/com_news/chwilker.htm cheap zocor] [http://www.jeffco.edu/ctl/help/fevy.htm online lipitor] [http://esi.mit.edu/help/img/zylu.htm amitriptyline online] [http://esi.mit.edu/help/img/lury.htm cellphone ringtones] [http://www.jeffco.edu/ctl/help/biviw.htm free cingular ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/hemahali.htm cheap hydrocodone] [http://www.howardcollege.edu/Athletics/components/com_news/rovoltzi.htm cheap nexium] [http://esi.mit.edu/help/img/pyjuv.htm tracfone ringtones] [http://www.jeffco.edu/ctl/help/lynyx.htm cheap hgh] [http://www.howardcollege.edu/Athletics/components/com_news/brlinger.htm cheap propecia] [http://www.howardcollege.edu/Athletics/components/com_news/vagilpin.htm motorola ringtones] [http://www.jeffco.edu/ctl/help/cuvu.htm but amoxicillin] [http://esi.mit.edu/help/img/giwidug.htm free cricket ringtones] [http://recservices.ou.edu/language/img/wowyf.htm lisinopril] [http://www.howardcollege.edu/Athletics/components/com_news/rerahman.htm cheap fioricet] [http://www.jeffco.edu/ctl/help/kyzes.htm fioricet online] [http://esi.mit.edu/help/img/vikeni.htm cipro] [http://recservices.ou.edu/language/img/xudexex.htm ortho online] [http://www.jeffco.edu/ctl/help/bejy.htm online sildenafil] [http://www.howardcollege.edu/Athletics/components/com_news/bygroom.htm cheap flagyl] [http://www.howardcollege.edu/Athletics/components/com_news/anlauck.htm cheap tramadol] [http://esi.mit.edu/help/img/vofe.htm free tmobile ringtones] [http://www.howardcollege.edu/Athletics/components/com_news/nawiltin.htm cheap atenolol] [http://www.howardcollege.edu/Athletics/components/com_news/arfeller.htm free punk ringtones] [http://esi.mit.edu/help/img/dyhypu.htm retro ringtones] [http://esi.mit.edu/help/img/girihe.htm ephedra online] [http://www.howardcollege.edu/Athletics/components/com_news/alacre.htm buy flagyl] [http://esi.mit.edu/help/img/rogokow.htm midi ringtones] 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 ==
Line 44: Line 44:
 
== Restart Apache and Connect ==
 
== Restart Apache and Connect ==
  
Now just rest
+
Now just restart Apache to pick up the changes
5A8
 
art Apache to pick up the changes
 
  
 
<pre>apachectl restart</pre>
 
<pre>apachectl restart</pre>

Revision as of 22:23, 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.