Intro to Apache - ApacheCon
Starting on system restart
  • /etc/rc.d/rc.httpd containing the line

    
         /usr/local/apache/bin/apachectl start
    
      

  • Could also put this in rc.local

  • Or, on RedHat-ish machines, you might want to put something in /etc/rc.d/init.d/httpd , and then link it into rc3.d and rc5.d to start in those runlevels.

  • Different OSes do things differently.

Index
Back to htttpd and apachectl
Forward to Hour 2

ApacheCon : Intro to Apache - Slide #81 of 139