Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Questions on getting Xerte Toolkits installed on your server and questions about authentication and user logins.
  • Page:
  • 1

TOPIC: Issues with HTTPS

Issues with HTTPS 4 years 2 months ago #3608

  • cs1slb
  • cs1slb's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
Application is installed. Apache server is configured to deliver only https and requests for documents which are not https are rewritten using mod_rewrite to be https. So, for example, a request for is rewritten to and the icon file is successfully rendered. Note that in the preceding sentence the requested URL began with http and the rendered document was rendered as https. This detail was removed automatically on submission of the request for assistance.

However, the service does not work. For example, when I click the Logout button, nothing happens at all. I am using Firefox. The status icon just left of the address bar is showing a green padlock and a grey triangle with an exclamation mark. Clicking on this icon show that I have a secure connection but that some parts of the page are being blocked because they are not secure. I expected the work with mod_rewrite to fix this and it hasn't.

If I click the "Disable protection for now" button accessible via the status icon, the icon changes to a green padlock with a red diagonal bar across it and, in the address bar, https becomes strikethrough https. The logout button now works.

The changes that I have made to /etc/apache2/sites-enabled/000-default.conf in order to implement the mod_rewrite are to add these lines: -
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
These changes were added right at the end of the <VirtualHost *:80> section of the file, just above the line </VirtualHost>

Please find the relevant file attached.

Please Log in or Create an account to join the conversation.

Last edit: by cs1slb. Reason: The submission editor missed out some important detail on first attempt.

Issues with HTTPS 4 years 2 months ago #3609

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 586
  • Thank you received: 149
Is this an installation that you installed and/or had running via http and have now changed to https?
Visit the management page or the site_details table in the database and check/change the site_url value to https

Does that help?
Xerte developer & trainer
e-learning & m-learning consultant | |
Need direct commercial support with Xerte?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.040 seconds
Copyright © 2020 The Xerte Project.
Xerte logo Apereo logo OSI Logo