small medium large xlarge

19 Aug 2009, 00:06
Michael Mattingly (14 posts)

When I use the commands listed on page 655 & 656…

apachectl -V | grep SERVER_CONFIG_FILE
sudo apachectl restart

I get…

-bash: apachectl: command not found

I’ve found that I can restart the Apache server with the following command…

sudo /etc/init.d/apache2 restart

…but I haven’t been able to find another command for locating the configuration file. Does anyone know why this command doesn’t work?

It seems to me that the instructions on editing the configuration files on pages 655-656 could be a little more clear. For instance, I’m under the impression that we edit 2 configuration files (please correct me if I’m wrong). The first is the Apache configuration file (e.g. apache2.conf) & the second is the project configuration file (e.g. depot). The instructions aren’t really that clear on this.

22 Aug 2009, 17:03
Michael Mattingly (14 posts)

For anyone else that runs across this, make sure that you pay attention to the following footnote.

Again, on some systems, the command name is apache2ctl; on others, it's httpd.
You must be logged in to comment