• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Apache reload after config change

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Apache reload after config change

    Is there a better way to make Apache take into account changes made to httpd.conf than stupidly stopping and starting it again? I want to make change to config and then make apache reload it nicely without interrupting work.

    Something tells me that this would be too good to be true...

    #2
    i'm afraid its an /etc/init.d/apache2 restart all the way

    Comment


      #3
      This does not sound right - surely a big web farm with lots of virtual sites hosted would have to restart all apache childs just because they added new site?

      Comment


        #4
        Ok i'm talking utter tulipe. Try:

        /etc/init.d/apache2 reload

        Comment


          #5
          Now that's better, thanks!

          Comment


            #6
            Or:

            apachectl graceful

            Serving religion with the contempt it deserves...

            Comment


              #7
              The last one is not present on Win NT build of apache

              I think I will have separate code paths though.

              Comment


                #8
                Did you know the name Apache came from "a patchy sever".

                Just thought you'd all like to know that one.

                Comment

                Working...
                X