Understand the default Apache configuration
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.