If you take a look to the Apache Configuration, you'll see that the main Apache configuration file (/opt/bitnami/apache2/conf/httpd.conf) includes the file (/opt/bitnami/apache2/conf/bitnami/bitnami.conf). This file imports the configuration in the files /opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf and /opt/bitnami/apache2/conf/bitnami/bitnami-apps-vhosts.conf. These last files imports the Apache configuration of every app installed on your Stack. In your case you can check that /opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf has the content below:
# Bitnami applications installed in a prefix URL
Therefore, looking at /opt/bitnami/apps/drupal/conf/httpd-prefix.conf:
# App url moved to root
# Alias /drupal/ "/opt/bitnami/apps/drupal/htdocs/"
# Alias /drupal "/opt/bitnami/apps/drupal/htdocs"
As you can see the directory /opt/bitnami/apps/drupal/htdocs is used as Document Root and that's why the files you put under /opt/bitnami/apache2/htdocs are ignored.
If you want to use a different UI at the root of your URL. You can comment the line at /opt/bitnami/apache2/conf/bitnami/bitnami-apps-prefix.conf that includes the Apache Configuration for Drupal and restart Apache. After that, you can use /opt/bitnami/apache2/htdocs for you UI.
See the guide below to understand more about the structure in the Stack:
On the other hand, for information regarding the application itself or customization of the content within the application, we highly recommend checking forums and user guides made available by the project behind the application.
Was my answer helpful? Click on