Intro to Apache - ApacheCon 2005
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 httpd, cont'd
Forward to Hour 2

ApacheCon 2005 : Intro to Apache - Slide #81 of 164