Skip to content. | Skip to navigation

Apache Configuration to Proxy Plone

Below is an example of an Apache virtual host configuration to front end Plone.

Customize to your particular instance as follows:

publicname.domain.com = the public hostname for the Apache server vhost

internalname.domain.com = the internal hostname for the Zope server

Plone = the site name of your Plone site

8201, 8202 = the port number which the Zope server is listening on

192.168.100.210:80= The IP address and port number of your apache server

This example assumes that the Zope server and Apache server are running on the same box.

<VirtualHost 192.168.100.210:80>
      ServerName publicname.domain.com
      ServerAlias internalname.domain.com

      RewriteEngine on
      RewriteRule     ^(.*)   http://localhost:8201/VirtualHostBase/http/publicname.domain.com
:80/Plone/VirtualHostRoot/$1 [L,P]

</VirtualHost>

<VirtualHost 192.168.100.210:80>
      ServerName internalname2.domain.com

      RewriteEngine on
      RewriteRule     ^(.*)   http://localhost:8202/VirtualHostBase/http/publicname.domain.com
:80/Plone/VirtualHostRoot/$1 [L,P]

</VirtualHost>

 In order to make the management console (top level) available via Apache, do the following:


http://manage-essence.ftoth.com/manage

Works just as you suggested. I simply removed the "/Plone" from the rewrite rule
and everything worked:

<VirtualHost 192.168.100.210:80>
  ServerName manage-essence.ftoth.com

  RewriteEngine on
  RewriteRule ^(.*)   http://localhost:8301/VirtualHostBase/http/manage-essence.ftoth.com:80/VirtualHostRoot/$1 [L,P]

</VirtualHost>

Document Actions