nativeInstallerjoomla

Understand the default Apache configuration

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

NOTE: The Approach A sections referred to below do not apply to Bitnami native installers. Users of Bitnami native installers should refer only to the Approach B sections.

Approach A: Bitnami installations using system packages

By default, Bitnami applications are accessible at http://localhost/.

The installdir/apache2/conf/httpd.conf file contains the configuration of the Apache server. By default, it will load additional configurations from the following locations:

  • The installdir/apache2/conf/bitnami/bitnami.conf file defines the main virtual host that will be used by the Apache Web server to respond to HTTP requests.

  • The installdir/apache2/conf/bitnami/bitnami-ssl.conf file defines the main virtual host that will be used by the Apache Web server to respond to HTTPS requests.

  • The files in the installdir/apache2/conf/vhosts/ directory define additional virtual hosts.

Approach B: Self-contained Bitnami installations

By default, Bitnami applications are accessible at http://localhost/APP.

There are two files holding the configuration of the Apache server:

  • The installdir/apache2/conf/httpd.conf file is the main Apache configuration file.

  • The installdir/apache2/conf/bitnami/bitnami.conf file defines which configuration for each application should be loaded by the Apache server. This file internally references the two files below:

    • The installdir/apache2/conf/bitnami/bitnami-apps-prefix.conf file defines the list of applications to load.
    • The installdir/apache2/conf/bitnami/bitnami-apps-vhosts.conf file defines those applications that need to be served in a different virtual host.
Last modification June 16, 2021