Opened 15 years ago
Closed 15 years ago
#9012 closed enhancement (worksforme)
Allow landing page to be customized
Reported by: | 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 , 15 years ago
follow-up: 3 comment:2 by , 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.
comment:3 by , 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 , 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 , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Ok, thanks for the feedback.
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 toLoginModule
to make the login page the default.