Browse and watch all the video files you have in your iTunes library on your iPhone.
This only works locally. Unless you expose your webserver and you have kick ass bandwidth.
Edit /etc/apache2/httpd.conf and set its users to your user name:
User jmaddox
Group www
Don’t close the file! Uncomment the php module too if you haven’t already done that.
LoadModule php5_module libexec/apache2/libphp5.so
Symlink your tv and movie directories from your iTunes library to your webserver directory:
$ ln -s /Users/jmaddox/Music/iTunes/iTunes\ Music/Movies movies
$ ln -s /Users/jmaddox/Music/iTunes/iTunes\ Music/TV\ Shows tv
Make SURE you use the same symbolic link names as above.
Dump all of this at the root of /Library/WebServer/Documents
Turn on web sharing!
That should be it. Simple as pie.