wiki:HttpLoginViaRedirectPatch

Add HTTP Login Functionality to Every Trac Page

Description

This patch allows you to make Trac ask for an http authentication on any Trac page, simply by adding '/login' in front of the path of the page that you would like to request...

This patch was made for Trac version 0.9.6.

To find out more about this patch (and on how to configure your web server to work with it), have a look at http://dawis2.icb.uni-due.de/jpddtools/HttpLoginViaRedirectPatch.html.

Bugs/Feature Requests

Existing bugs and feature requests for HttpLoginViaRedirectPatch are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Example

If you are asking for the RSS feed of a non-public project, you can call for http://trac.something.com/aproject/login/timeline?...format=rss and you'll be asked to type in your http authentication data (unless you are already logged on) before you'll be (re)directed to the actual RSS feed provided by http://trac.something.com/aproject/timeline?...format=rss...

Works with every other Trac page, as well...

This can be seen as an answer to trac-ticket:540.

Recent Changes

[1115] by nik4536 on 2006-08-11 20:02:14
HttpLoginViaRedirectPatch:

Initial Upload

[1114] by nik4536 on 2006-08-11 19:55:24
HttpLoginViaRedirectPatch:
[1113] by nik4536 on 2006-08-11 19:47:38
New hack HttpLoginViaRedirectPatch, created by nik4536

Author/Contributors

Author: oli2168 & nik4536
Contributors:

Last modified 6 years ago Last modified on Feb 18, 2008 11:46:36 PM