David Abrahams wrote:

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>


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.

Yes, that's correct.  That's the extent of my apache-foo (or pitiful lack
thereof).  There very well might be a simple way to tell apache to use a
different mechanism besides "AuthType Basic" (ie to redirect to the
AccountManager URL), but I've never had occasion to find out.

Perhaps someone else has some better ideas.  I'd be curious to know if you
find a solution though..

Matt

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to