Is it possible to run apache in a jail on freenas? I would like to know if I could add this feature to my NAS in the future.
Well I have not tried it myself, it would appear that 32bit versions of Linux operating systems can be installed on FreeNas in a jailed environment. That being said, I would assume that you could put CentOS on and run it with LAMP.
There wiki is here: http://doc.freenas.org/index.php/Jails
You can try Nas4Free, what is bassicly a old version of FreeNAS. Or you can use a extra app for FreeNAS that will run a webserver on your FreeNAS Installation.