This how-to is based on appletvhacs' description. The idea is to copy the missing files from a Mac running V10.4 "Tiger" to the AppleTV.
With this, you will have a machine running Perl and Apache. If you additionally want PHP and MySQL, you can consider installing XAMPP which provides all 4 items independently of the ApplTV OS.
As stated, you will need a disk with Mac OS V10.4 "Tiger" installed.
Copying the files
Make sure to preserve file attributes when copying.
The files to copy are:
The directories to copy are:
The configuration file is already found on the AppleTV:
This file defines defines where the web pages are:
The Apache startup item is provided in:
Starting the server
The Apache way:
The Mac OS X way:
SystemStarter start "Web Server"
With a web browser, check that the service works. Navigate to your AppleTV. You should be greeted with: Seeing this instead of the website you expected?
Enabling at boot time
Edit the file
/etc/hostconfig and replace
Restart the AppleTV and check the service with a web browser.