Matthew Gillen <[EMAIL PROTECTED]> writes:
David Abrahams wrote:
One of my users complained (bitterly) that when he arrives,
unauthenticated, at his Trac, instead of being directed to a "login"
screen he gets a cryptic message about not having the right privileges
to view the page. I know he should just get over it, but I have to
admit he's right; it's a bad user interface. That message only makes
sense on Tracs that can be used without logging in. Is there
something I can do about this?
Of course. Assuming you're using apache, change the Auth Required scope to
include the root URL, instead of just the /login path.
Ie change something that looks like this:
<LocationMatch "/tracsrv/test/login">
AuthType Basic
Require valid-user
</LocationMatch>
to this:
<LocationMatch "/tracsrv/test/">
AuthType Basic
Require valid-user
</LocationMatch>
Matt
I'm using the new AccountManager, one of whose benefits is that the
login screen is a real HTML form. IIUC, if I do what you're
suggesting, I'll end up with an HTTP auth dialog box instead.
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---