HttpsRedirectPlugin

Redirect authenticated users to HTTPS url.

Usage

The HTTPS redirect plug-in is designed to help you run a web site where guest users can access pages through HTTP and authenticated users will be forced to use HTTPS. Simply activate the plug-in from configure to take advantage of its functionality. Once enabled it will force authenticated users to use HTTPS by redirecting them to HTTPS URL if needed. Guests will be redirected to HTTPS only when accessing the login screen.

Redirect happens on the following conditions:
  • Request for the login script.
  • Request for any script listed in {AuthScripts}
  • Any request that triggers the LoginManager::TemplateLogin::forceAuthentication() event.

Note tht as of this release, only the TemplateLogin method is supported for forceAuthentication based redirects.

Be sure to set the https:// URL in {PermittedRedirectHostUrls}.

Installation Instructions

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Plugin Info

Many thanks to the following sponsors for supporting this work:

Change History:  
26 Mar 2017 v1.3 Foswikitask:Item11621 - Redirect auth scripts and forceAuthentication events.
19 mar 2016 v1.2 Foswikitask:Item14030 - Use new version strings, remove non-utf8 characters from topic. Other minor cleanup.
28 Mar 2011 v1.1 Foswikitask:Item10551 - fixed a problem where foswiki scripts would produce no output if run from CLI
28 Apr 2009 v1.0 First actually working version for Foswiki
Dependencies: None
Development: http://foswiki.org/Development/HttpsRedirectPlugin
Tasks: http://foswiki.org/Tasks/HttpsRedirectPlugin

Related Topics: Plugins, DeveloperDocumentationCategory, AdminDocumentationCategory, DefaultPreferences, SitePreferences

PackageForm edit

Author Foswiki:Main.StephaneLenclud Foswiki:Main.GeorgeClark
Version 1.3
Release 26 Mar 2017
Description Redirect authenticated users to HTTPS url.
Repository https://github.com/foswiki/HttpsRedirectPlugin
Copyright © 2008-2009 StéphaneLenclud, 2011-2017 Foswiki Contributors
License GPL (Gnu General Public License)
Home http://foswiki.org/Extensions/HttpsRedirectPlugin
Support http://foswiki.org/Support/HttpsRedirectPlugin
Topic revision: r3 - 28 Mar 2017, GeorgeClark - This page was cached on 25 May 2017 - 13:45.

This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback