• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Plesk Onyx and Plone 5.1 rewrite not working

Schoelje

New Pleskian
My server: ‪Debian 8.10‬ (Jessie)
Plesk: Onyx 17.8.11 Update #4
Plone: version 5.1

I have a working domain with SSL (Let's Encrypt) and a working Plone site.

I made sure all modules were enabled according to: Apache — Plone Documentation v5.1
Only proxy_http needed to be enabled.

I've created /var/www/vhosts/system/my_domain.com/conf/vhost.conf with the following content:
RewriteEngine On
RewriteRule ^/(.*) http://my_domain.com:8080/VirtualHostBase/https/%{HTTP_HOST}:443/Plone/VirtualHostRoot/$1 [P,L]

and restarted Apache with: sudo systemctl restart apache2

Unfortunately, even after a lot of experimenting nothing changed: I'm still left with a Plone site on http://my_domain.com:8080/Plone and a test site on https://my_domain.com

I found a similar but old thread in this forum: running zope by means of mod_rewrite
but the mentioned mods are already activated.

I can't seem to find the relevant information and I'm not a system administrator by trade.

Does anybody know what I'm doing wrong?
 
My bad!
I copied the content of vhost.conf to: /var/www/vhosts/system/my_domain.com/conf/vhost_ssl.conf
opened my_domain.com in the browser and it showed my Plone site with https.

Does the same code need to be in both vhost.conf and vhost_ssl.conf?
 
Back
Top