Tags:
create new tag
view all tags

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. This plug-in do not expose any TWiki %VARIABLE%. 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.

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 where TWiki is running.

Like many other TWiki extensions, this module is shipped with a fully automatic installer script written using the BuildContrib.

  • If you have TWiki 4.2 or later, you can install from the configure interface (Go to Plugins->Find More Extensions)
  • If you have any problems, then you can still install manually from the command-line:
    1. Download one of the .zip or .tgz archives
    2. Unpack the archive in the root directory of your TWiki installation.
    3. Run the installer script ( perl <module>_installer )
    4. Run configure and enable the module, if it is a plugin.
    5. Repeat for any missing dependencies.
  • If you are still having problems, then instead of running the installer script:
    1. Make sure that the file permissions allow the webserver user to access all files.
    2. Check in any installed files that have existing ,v files in your existing install (take care not to lock the files when you check in)
    3. Manually edit LocalSite.cfg to set any configuration variables.

Plugin Info

  • Set SHORTDESCRIPTION = Redirect authenticated users to HTTPS URL

Plugin Author: TWiki:Main.StephaneLenclud
Copyright: © 2008 TWiki:Main.StephaneLenclud
© 2008-2011 TWiki:TWiki.TWikiContributor
License: GPL (Gnu General Public License)
Plugin Version: 20293 (2011-01-21)
Change History:  
2011-01-21: TWikibug:Item6638: Fixing plugin for TWiki-5.0; doc improvements; changing TWIKIWEB to SYSTEMWEB -- TWiki:Main.PeterThoeny
2008-08-25: Initial version
Dependencies: None
Plugin Home: http://twiki.org/cgi-bin/view/Plugins/HttpsRedirectPlugin
Feedback: http://twiki.org/cgi-bin/view/Plugins/HttpsRedirectPluginDev
Appraisal: http://twiki.org/cgi-bin/view/Plugins/HttpsRedirectPluginAppraisal

Many thanks to the following sponsors for supporting this work:

Related Topics: TWikiPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, TWikiPreferences

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2016-02-13 - TWikiAdminUser
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.HttpsRedirectPlugin.