How to use plone on port 80?

0

Good morning!

I have a PLONE server running with ZOPE on port 8080.

What I would like to do is use port 80 for access to be done directly.

I have Apache installed and running on port 80, I use the CentOS 7 OS.

How do I redirect access so that all access to my site www.ploneteste.com.br is redirected to www.ploneteste.com.br:8080 ???

    
asked by anonymous 25.05.2017 / 15:52

2 answers

0

First, change the port of your Apache to 81 or 82 because if you install skype on your machine it will use the same port and then it will create conflicts.

Then place your serivor PLONE on port 80, as follows:

  • Edit the file:

$INSTANCE_HOME/buildout.cfg and change the line "http-address = 8080" to the desired port.

After this, your% s DNS% will open on port 80.

    
25.05.2017 / 17:49
0

The right way to do this is to configure Apache as a proxy for Plone site:

<VirtualHost *>
    ...
    RewriteEngine on
    RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/%{HTTP_HOST}:80/Plone/VirtualHostRoot/$1 [P,L]
</VirtualHost>

In the rebranding rule you have to replace " Plone " with your site name if different.

You can see an example of a complete configuration at Plone documentation .

    
26.05.2017 / 15:38