On Tue, 2006-07-11 at 10:39 -0400, [EMAIL PROTECTED] wrote:
> I was wondering if there is a way to "protect" Trac. In other words, I don't
> want the outside world seeing Trac unless they can login (that includes the 
> main
> page). I want only authenticated users to be allowed to view and edit the 
> site.
> Is this possible? As of now, I am using Trac with mod_python. I saw that thee 
> is
> a "login" area, but I want to secure the whole thing.

Yes, when you configure the authentication in Apache use a <Location>
block that covers the whole Trac site, not just the login URL.

So, instead of:
<Location /projects/login>
# auth setup
Require valid-user
</Location>

Use:
<Location /projects>
# auth setup
Require valid-user
</Location>

-- 
Matthew Good <[EMAIL PROTECTED]>

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to