wiki:HttpLoginViaRedirectPatch

Version 3 (modified by nik4536, 10 years ago) (diff)

--

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.

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 [download:httploginviaredirectpatch 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...

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
(more)

Author/Contributors

Author: oli2168 & nik4536
Contributors: