This is an experimental version of HttpsRedirectPlugin.
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://365847.689093.cn/Extensions/Testing/,http://365847.689093.cn/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:
Related Topics: Plugins,
DeveloperDocumentationCategory,
AdminDocumentationCategory,
DefaultPreferences,
SitePreferences