Apache & lighttpd
Apache
You have your own instance of Apache which runs off $HOME/web/apache2.conf. There are lots of comments in that file about what you should and shouldn't change -- please follow them.
You controll apache with sudo /usr/sbin/invoke-rc.d httpd <action> $USER, where <action> is one of:
- start
- Start your Apache instance
- stop
- Stop your Apache instance
- restart
- "Hard" restart (kill and restart the entire process)
- reload
- "Soft" reload (SIGHUP) -- should be all you need 99% of the time.
- check
- Check your Apache config file for errors.
- test
- Test your running Apache process (also reports its uptime).
Lighttpd
Lighttpd runs your media server. You can have as many of those as you like; just ask. There should be a symlink to your media server directories in $HOME/web, but they actually live in /home/media/.