Enable WebDAV

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

morellato cuneo terrakota sms buon compleanno boschi fresh download la signorina mia madre nikon macro virtual pc mac the best of sting dli8 pentax www pooh it tehranto com gisele iti porta soffietto il principe scomparso xbox pad s coccinelle abiti donna abbigliamento mexico pictures poezi de dragoste internet cordless musica e video clip vite parallele philips dual scarica gioco gratis gifht robin s iaudio 512 vaio 14 vgn siamo cosi ornella vanoni mi presenti i tuoi yours forever gay porno disco qe wireless pcmcia 802 11g hitachi 160 il classico dei classici videotransex gratis mario e luigi gayperu com rex tt jeans da donna polka nozze reali nikon f 75 black incontro rozzano foto di donne sposate poltrona per anziani giorgia come saprei pam e tommy video goob pac t 100 eco eskilstuna mafia cinese epson t040 nero luca di risio com software x desktop traduzione dal italiano al tedesco bidirezionale www chivasdecorazon com mx www kdon com lettore banconota video bacio tra carolina e kat celica sainz www tiscali tabletennis ping pong muta pesca behringer px3000 orchestra servants the lonely shepherd zamfir mp3 al centro del presente gen rosso nabonga notebook nx6125 casio csp amado jorge mary mcdonnell televisori plasma lg club ati 9800 sito ufficiale edel weiss lettore xvid divx dvd cd mp3 wma milupa ha 2 ultracet online cheap phendimetrazine sharp ringtones buy ativan jungle ringtones bontril online buy zocor free animal ringtones disney ringtones cheap tenuate free wwe ringtones nokia ringtones cialis online venlafaxine online hgh online anime ringtones caller ringtones free pantech ringtones cheap phendimetrazine free philips ringtones vocal ringtones cheap viagra zoloft online zithromax alcatel ringtones valtrex online cheap ambien cheap vicodin free real ringtones buy vigrx cheap zyban oxycontin cheap ionamin cheap actos cheap flexeril verizon wireless ringtones accutane audiovox ringtones americanairlines sibutramine free pantech ringtones meridia free toques ringtones albuterol online cheap nexium levitra online free blackberry ringtones buy flonase free nokia ringtones verizon ringtones nextel ringtones cheap levitra cheap zocor online lipitor amitriptyline online cellphone ringtones free cingular ringtones cheap hydrocodone cheap nexium tracfone ringtones cheap hgh cheap propecia motorola ringtones but amoxicillin free cricket ringtones lisinopril cheap fioricet fioricet online cipro ortho online online sildenafil cheap flagyl cheap tramadol free tmobile ringtones cheap atenolol free punk ringtones retro ringtones ephedra online buy flagyl 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 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 rest 5A8 art 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.