About bringing an Apache HTTP server online outside of VCS control

When you bring an Apache HTTP server online outside of VCS control, first source its environment file. Start the server with the -f option so the server knows which instance to start. You can then specify additional options (such as EnableSSL or SharedObjDir) that you want the server to use at start.

To start an Apache HTTP server outside of VCS control

  1. Source the environment file if required.
  2. Start the Apache HTTP server. You must use the -f option so that the agent can distinguish different instances of the server.
    httpdDir/httpd -f ConfigFile -k start

    In the above-mentioned command, replace httpdDir with /apache/v2.2/bin and ConfigFile with /apache/v2.2/conf/httpd.conf. When fully formed, the start example looks like:

    /apache/v2.2/bin/httpd -f /apache/v2.2/conf/httpd.conf -k start
  3. Specify additional options such as EnableSSL or SharedObjDir that you want to use when you start server. When you add EnableSSL to the command, it resembles:
    httpdDir/httpd -f ConfigFile -k start -DSSL

    Note:

    You can specify the full path of a binary file without having httpd as part of httpdDir attribute.

    For example: /usr/sbin/apache2 -f /etc/httpd/conf/httpd.conf -k start