Apache running on Apple TV
Thanks again to Jonathan for writing up the process. Here it is…
To get Apache running on your Apple TV, firstly enable SSH so you can access the box easier.
From there, you can scp the directory /usr/libexec/httpd/ from your Mac to the Apple TV:
scp -r /usr/libexec/httpd frontrow@your.apple.tv.ip.address:/usr/libexec/.
Then ssh into the Apple TV and run:
sudo /usr/sbin/apachectl start
Pow. Apache is running. You can now access the Apple TV from a web browser, in either fashion:
http://your.apple.tv.ip
http://yourappletvname.local
The default httpd.conf file uses the /Library/WebServer/Documents/ directory for its DocumentRoot and also enables the user-level Sites folder, so this also works:
http://your.apple.tv.ip/~frontrow
http://yourappletvname.local/~frontrow


Now, we are interested in whether that opens up the door to make a browser based administration system for the Apple TV. Combined with SFTP/AFP for files access, we believe an alternative system to iTunes could be built for managing the content on your Apple TV.
Whatever you do with this; let us know how you get on!
Sunday 25 Mar 2007 | | Del.icio.us | News, Software Hacks

December 29th, 2007 at 7:24 pm
This sounds great - unfortunately when I try the command;
scp -r /usr/libexec/httpd frontrow@your.apple.tv.ip.address:/usr/libexec/.
I get the error;
scp: /usr/libexec/./httpd: Permission denied
I’m definately logged in to the apple tv… - do I need to alter permissions or use a sudo command?
any help gratefully received
October 10th, 2007 at 4:47 pm
[…] The Apple TV hacks are coming fast and furious as recorded on both the Something Awful thread we already told you about, and at the Apple TV Hacks blog. Over at Something Awful, user macado shows the Apple TV successfully decoding a 720p XviD clip using the open source VLC player (though only for 6 minutes). Other users have demonstrated Firefox and iTunes running on an Apple TV as well. Meanwhile at Apple TV Hacks, there are already tutorials up on getting SSH and AFP access and even setting up Remote Desktop (VNC) and Apache. […]
May 23rd, 2007 at 6:30 pm
[…] can even turn a Mac mini into an Apple TV or an Apple TV into a Web server (by installing […]
May 13th, 2007 at 1:28 am
[…] Weiteres zu Apache auf Apple TV […]
May 13th, 2007 at 1:23 am
We replaced a small production Webserver with an Apple tv since May 6th 2007.
Works pretty good!
The Apple TV only runs the Apache Webserver, cause it definitely has not enough ram to handle the large MySql Database.
Here you can see the result: http://www.compredia.de