Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#9012 closed enhancement (worksforme)

Allow landing page to be customized

Reported by: francis+public@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

It would be nice if it were possible to choose which page is loaded on initial entry to trac.

I have a trac installation which I'd prefer unauthenticated users not to be able to see. Doing this via HTTP authentication leads to all the logout issues discussed in ticket #791. Instead, I would like to simply remove all view privileges for the unauthenticated user. Unfortunately, this results in an error as trac tries to load the Wiki start page.

Customizing the location of the landing page would make it possible for a login page (probably from the account manager plugin) to be loaded as trac's initial page avoiding the error message on entry to trac and displaying the only page likely to be useful to the user.

Attachments (0)

Change History (5)

comment:1 by Remy Blank, 15 years ago

Have you tried using the [trac] default_handler option in TracIni? I'm not sure if it will work, but you could try setting it to LoginModule to make the login page the default.

comment:2 by francis, 15 years ago

Nice suggestion, I completely missed that option. Unfortunately, it seems that it doesn't work. Instead, the browser gets into some sort of redirection loop.

in reply to:  2 comment:3 by Remy Blank, 15 years ago

Replying to francis:

Instead, the browser gets into some sort of redirection loop.

Yes, that's what I feared. At this point, I'm not sure if this should be an enhancement request for th:AccountManagerPlugin, or for Trac core (which doesn't have a login page).

comment:4 by anonymous, 15 years ago

It took a lot of searching, but I finally found this: th:PermRedirectPlugin. This seems to solve all my issues so I guess this ticket can be closed.

comment:5 by Remy Blank, 15 years ago

Resolution: worksforme
Status: newclosed

Ok, thanks for the feedback.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.