warning This is an experimental version of HttpsRedirectPlugin.

support To configure your Foswiki to install from this repository, modify the {ExtensionsRepositories} setting in your lib/LocalSite.cfg like this:
$Foswiki::cfg{ExtensionsRepositories} = 'Foswiki.org=(http://foswiki.org/Extensions/,http://foswiki.org/pub/Extensions/);Local=(http://foswiki.org/Extensions/Testing/,http://foswiki.org/pub/Extensions/Testing/)';

Read more about configuring Extension repositories

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

I Attachment Action Size Date Who Comment
HttpsRedirectPlugin.md5md5 HttpsRedirectPlugin.md5 manage 180 bytes 28 Mar 2017 - 03:05 GeorgeClark  
HttpsRedirectPlugin.sha1sha1 HttpsRedirectPlugin.sha1 manage 204 bytes 28 Mar 2017 - 03:05 GeorgeClark  
HttpsRedirectPlugin.tgztgz HttpsRedirectPlugin.tgz manage 5 K 28 Mar 2017 - 03:05 GeorgeClark  
HttpsRedirectPlugin.zipzip HttpsRedirectPlugin.zip manage 8 K 28 Mar 2017 - 03:05 GeorgeClark  
HttpsRedirectPlugin_installerEXT HttpsRedirectPlugin_installer manage 4 K 28 Mar 2017 - 03:05 GeorgeClark  
Topic revision: r1 - 28 Mar 2017, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy