I don't really get what your asking for, but to start apache (the http-server) just type:

Code:
sudo /etc/init.d/apache start
What do you mean by a "shared-folder" and what's this script for?