Oded Arbel | 1 Nov 2004 01:06

Re: Login problems

On Monday 01 November 2004 00:13, Matthew Good wrote:
> On Sun, 2004-10-31 at 22:47 +0200, Oded Arbel wrote:
> > Oh. I didn't put it there at all. I assumed that Trac will do its
> > own HTTP-Basic AUTH -  its not hard, I've done it countless times
> > in PHP and many many times in basically any widely used language
> > other then Python (and BASIC, but I think you'll forgive me this
> > transgression ;-) )
> >
> > Lets say I want to hack it in - where do you suppose I should put
> > it ? I'm assuming in core.py in dispatch_reqeust ? or maybe in
> > Authenticator ?
>
> Well, the tracd standalone server has authentication built-in, but
> for the CGI and ModPython setups the authentication was intentionally
> left out.  By using Apache to do the authentication we can configure
> Apache to use the same authentication for both Trac and SVN giving us
> a simple way to do single sign on, and we can make use of the variety
> of modules available for supporting different authentication methods
> (basic, digest, ldap, ...).  The sample Apache configurations on the
> Trac site include the configuration for authentication which is much
> simpler than hacking authentication into Trac itself.

The problem is that I don't have access to the apache configuration: I'm 
running on a vhost and only have .htaccess premissions. with .htaccess 
you can't (ot at least I don't know how) to setup auth for 
non-directories.

--

-- 
Oded Arbel
m-Wise mobile solutions
oded@...

+972-9-9611212 (204)
+972-54-7340014

::..
there are many things worth living for
there are a few things worth dying for
there are no things worth killing for

Gmane