Changes between Version 11 and Version 12 of PermRedirectPlugin


Ignore:
Timestamp:
Nov 26, 2015, 10:09:18 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • PermRedirectPlugin

    v11 v12  
    1818
    1919If you have any issues, create a
    20 [http://trac-hacks.org/newticket?component=PermRedirectPlugin new ticket].
     20[/newticket?component=PermRedirectPlugin new ticket].
    2121
    2222[[TicketQuery(component=PermRedirectPlugin&group=type,format=progress)]]
    2323
    24 == Download ==
     24== Download
    2525
    26 Download the zipped source from [download:permredirectplugin here]. The eggs are available for installation as pypi:TracPermRedirect.
     26Download the zipped source from [export:permredirectplugin here]. The eggs are available for installation as pypi:TracPermRedirect.
    2727
    28 == Source ==
     28== Source
    2929
    30 You can check out PermRedirectPlugin from [http://trac-hacks.org/svn/permredirectplugin here] using Subversion, or [source:permredirectplugin browse the source] with Trac.
     30You can check out PermRedirectPlugin from [/svn/permredirectplugin here] using Subversion, or [source:permredirectplugin browse the source] with Trac.
    3131
    3232== Installation
    3333
    34 To enable, add the following to the `trac.ini` file:
    35 {{{
    36 #!ini
     34General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
     35
     36To enable, add the following to your `trac.ini` file:
     37{{{#!ini
    3738[components]
    3839permredirect.* = enabled
    3940}}}
    4041
    41 This will enable the "redirect to login screen on permission error" feature.  The "HTTPS only" feature will not be enabled.
     42This will enable the "redirect to login screen on permission error" feature. The "HTTPS only" feature will not be enabled.
    4243
    4344== Configuration
    4445
    4546To additionally enable the "HTTPS only" feature, use the following in the `trac.ini` file:
    46 {{{
    47 #!ini
     47{{{#!ini
    4848[permredirect]
    4949redirect_login_https = true
     
    5151
    5252To enable the "HTTPS only" feature and disable the "redirect to login screen on permission error" feature, use the following in the `trac.ini` file:
    53 {{{
    54 #!ini
     53{{{#!ini
    5554[permredirect]
    5655redirect_login = false
     
    6362
    6463It is also possible to implement a similar feature without this plugin at all, using `RewriteRules` in your Apache configuration. This alternative approach must be used if you are handling login through the Apache web server. Your Apache configuration would include lines like:
    65 {{{
     64{{{#!apache
    6665# Redirect all login pages to https
    6766RewriteCond %{HTTPS} off
     
    6968}}}
    7069
    71 Note the `[NE]` (no-escape) flag, this is important! See "Frequently Asked Questions" below.
     70Note the `[NE]` flag (no-escape), this is important! See "Frequently Asked Questions" below.
    7271
    73 For more details, see the various example configurations posted in comments at http://trac.edgewall.org/ticket/4733
     72For more details, see the various example configurations posted in comments at [t:#4733].
    7473
    7574== Frequently Asked Questions