Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.

Conversion to https

  • SOASBruce
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
9 jaren 10 maanden geleden #4022 door SOASBruce
Conversion to https werd gestart door SOASBruce
Hello,

This may seem like a daft question, but is there any special magic, or can someone point me to a list of steps to go through, to change the site to use https rather than the 'out of the box' http?

Thanks in advance.

Cheers,

Bruce
De volgende gebruiker (s) zei dank u: davidw

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • SOASBruce
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
9 jaren 10 maanden geleden #4028 door SOASBruce
Beantwoord door SOASBruce in topic Conversion to https
Hello again,

Having had a search around the Forum and Apache wiki sites, it appears the things I need to do are:
Change the "site url" in the "Site settings" tab of Site Administration to replace http with https ;
as well as
Make changes to the Apache2 configuration files to use either the "Redirect" or "Rewrite" directives to push requests from http to https.

Is that correct, and which of the "Redirect" or "Rewrite" methods is recommended (presumably the directive would be included in the main configuration files, rather than in an .htaccess file)?

Also, I think I should've put this topic into the "Installation" forum originally. Is there any way for me to move it?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 10 maanden geleden #4031 door tom
Beantwoord door tom in topic Conversion to https
Hi Bruce,

I moved the topic.

Tom

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 10 maanden geleden #4032 door tom
Beantwoord door tom in topic Conversion to https
Sometimes you cannot the management.php anymore after you have switched to https

In that case please modify the site_url column of the only record in the sitedetails table.

Please find below a suggestion for apache rewrite rules (in the normal non https VirtualHost entry)
Code:
RewriteEngine On RewriteOptions inherit RewriteCond %{HTTPS} off RewriteRule ^/(.*) https://%{SERVER_NAME}/$1

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • SOASBruce
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
9 jaren 10 maanden geleden #4033 door SOASBruce
Beantwoord door SOASBruce in topic Conversion to https
Hi Tom,

Thanks for that - both moving the topic and the suggestion for the rewrite rules.

I'm a bit confused when you say to add those lines "in the normal non https VirtualHost entry".
Are you saying I should already have a vhost.conf entry in the /etc/apache2/vhosts.d/ directory as part of the installation?

Cheers,

Bruce

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
9 jaren 10 maanden geleden #4034 door tom
Beantwoord door tom in topic Conversion to https
No, but normally you would setup ssl in a vhost.d configuration, and these rules should NOT be in the ssl vhost file but either in the normal vhost configuration of this particular site, or in the general configuration.

Does that make more sense?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Tijd voor maken pagina: 0.139 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo