Version 5 (modified by ejucovy, 6 years ago) (diff)

Remove ancient reference to deprecated plugin; add details of new "login through HTTPS only" feature

Redirect users to the login screen on PermissionError.


This plugin provides two features related to login:

  • When an anonymous user attempts to visit a page that he does not have access to, he will be sent to the login screen instead of seeing Trac's built-in "Permission Error: maybe you should log in" page.
  • The plugin can also be configured to ensure that all access to the login screen occurs over HTTPS.

These features are independent of one another -- you can install the plugin to provide either feature, or both.

Bugs/Feature Requests

Existing bugs and feature requests for PermRedirectPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:permredirectplugin here].


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


To enable:

permredirect.* = enabled

This will enable the "redirect to login screen on permission error" feature. The "HTTPS only" feature will not be enabled.

To additionally enable the "HTTPS only" feature, use:

redirect_login_https = true

To enable the "HTTPS only" feature and disable the "redirect to login screen on permission error" feature, use:

redirect_login = false
redirect_login_https = true

Recent Changes

16606 by rjollos on 2017-05-22 21:42:07
TracPermRedirect 0.3: Conform to PEP8
16605 by rjollos on 2017-05-22 21:05:11
TracPermRedirect 0.3: Conform to PEP8
16460 by rjollos on 2017-04-04 07:22:14
Fix indentation


Author: coderanger
Maintainer: ejucovy