ProblemYou need to restart the HTTP daemon that processes requests for web pages on your server. SolutionAt the command-line prompt for your server, issue the apachectl graceful command, or the appropriate restart command for your web server. DiscussionRestarting your web server has come up in several of the topics covered in this chapter. When you modify the configuration file for Apache, you have to restart it for any changes to take effect. Basic webhosting accounts usually share Apache server processes with other web sites, so if that's the case with your web site, your provider may not want or allow you to restart Apache. Web designers with higher priced virtual server accounts, or accounts running on a dedicated server, have Apache all to themselves and usually can issue the commands for stopping and starting it as needed. Later versions for Apache install with a control script called apachectl. With it, you can start, stop, and restart the HTTP daemon on your dedicated server or "virtual server" account.
See AlsoThe Apache Software Foundation web site has more information about stopping and starting the Apache web server on the manual page for apachectl at http://httpd.apache.org/docs/programs/apachectl.html and a guide to restarting Apache at http://httpd.apache.org/docs/stopping.html. |