Secure Session Plugin


This is a Trac plugin to lock an authenticated user into using https://.

Bugs/Feature Requests

Existing bugs and feature requests for SecSessionPlugin are here.

If you have any issues, create a new ticket.


2 / 2


0 / 1


Download the zipped source from here.


You can check out SecSessionPlugin from here using Subversion, or browse the source with Trac.


General instructions on installing Trac plugins can be found on the TracPlugins page.


Requires setup in your trac.ini file as follows:

secsession.* = enabled

The web server must also be configured to only allow access to the login url via https. An example rewrite rule for apache might look like the following:

RewriteEngine On
RewriteRule ^/login https://%{SERVER_NAME}/login [L]

Recent Changes

15264 by rjollos on 2016-02-11 05:22:34
Remove unnecessary svn:mime-type on py files

svn:mime-type was set to "plain" for many files.

14547 by rjollos on 2015-04-20 16:08:48
1.0dev: tag_svn_revision in setup.cfg is not supported in setuptools ≥ 10.
14316 by mrelbe on 2014-12-09 01:59:42
WikiExtrasPlugin 1.0dev: CSS: Apply vertical margin only to first child content in a box.

Patch by lucid, many thanks! Fixes #10362



Author: pacopablo
Maintainer: none (needsadoption)
Contributors: csabahenk?


This works great and is very useful (I'm using it with trac 0.9.5), just one issue I'd like to know if anyone has found a workaround for: normally in trac when you click on "login", after the login you stay on the page you were on. With the suggested setup here people always get moved to the base of the wiki. Anyone found a way to get back to the original trac behavior?

I'd like to know if it works with tracd, too.

Last modified 11 months ago Last modified on Nov 30, 2015, 9:44:39 AM