Is a web server possible?

I’m wondering if Apache could be installed using aTV and then activated using the terminal? Anyone tried this or something else to turn their AppleTV into a web server? If this could be done I’m thinking it would be a great way to stream the files on the AppleTV (or connected hard drives) to any computer in the house.

Ideas? Suggestions?