nativeInstallerplone

Run the application at the domain's root URL

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.

By default, Apache is configured as a proxy server. The Plone configuration file is in installdir/apps/plone/conf/httpd-app.conf, and has this content by default:

RewriteEngine On
RewriteRule ^/plone($|/.*) http://localhost:8081/VirtualHostBase/http/%{SERVER_NAME}:8080/VirtualHostRoot/_vh_plone$1 [L,P]
# Uncomment the following line and comment the previous one to move the app to root
# RewriteRule ^/(.*)$ http://localhost:8081/VirtualHostBase/http/%{SERVER_NAME}:8080/VirtualHostRoot/$1 [L,P]

By default, all your Plone sites are accessible at the domain root at http://localhost/plone/SITE_NAME.

If you want to remove the /plone base path from the URL, such that your Plone sites are accessible at http://localhost/plone/SITE_NAME, comment out the first RewriteRule and uncomment the second one.

If you installed the Bitnami Plone Stack as the root user, the sites will be accessible at http://localhost/plone/SITE_NAME.

Read more about RewriteRule and VirtualHost configuration in the official documentation.

Last modification September 4, 2018