How to use Plone at gate 80?

Asked

Viewed 203 times

0

Good morning!

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

What I would like is to use port 80 so that access is done directly.

I have Apache installed and running on port 80, 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 ???

  • Already tried to make a Redirect to the page you want? However, you can also change the port of your apache and put your site on 80.

  • Not yet, Djva... do you know how I can make this redirection? I’m sorry to ignore, but I’m new! Thanks!

2 answers

0

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

After that place your PLONE serivor at gate 80, as follows:

  • Edit the file:

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

After that, your DNS ploneteste.com.br will open at door 80.

0

The right way to do this and set up 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 rescrita rule you have to replace "Plone" by the name of your website if it is different.

You can see a full configuration example on plone documentation.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.