The proper way to start services at boot time is with the chkconfig tool. It will add the proper start and kill scripts for you in the /etc/rc.d/rc.X directories.
When you installed apache, it should have come with an init script (if you built from source, it's in $HTTP_SOURCE/build/rpm/httpd.init. If you used an RPM it should be at /etc/init.d/httpd already ). If the script is in /etc/init.d/ you should be able to run:
CODE
/sbin/chkconfig --add httpd
and that will add the httpd service to the default runlevel (3) so when your machine starts up, apache does too. It will also shut down apache properly if the machine needs to come down.
HTH
Dan
QUOTE (tekprio)
Have you tried putting "/usr/local/apache2/bin/apachectl start" in /etc/rc.local ?
That should do what you want.