[Trac] Starting Trac with authentication

curtorkar at sancharnet.in curtorkar at sancharnet.in
Fri Sep 30 22:00:13 CDT 2005


Hi Todd,
I created the htdigest file. I have copied it to my trac project folder that is
/trac and this is the command i fire now.

 tracd -a postal,trac.htpasswd,smarty.com --port 8000 /trac/trac_project_env/


It starts the daemon but I still get error when i click on the login option of
the web page.

--Walter

Quoting Brennan Todd <brentodd at gmail.com>:

> Did you create the htdigest file? It's been a few weeks since I've done
> this, but I was having the same issue as you.
> 
> On 9/30/05, curtorkar at sancharnet.in <curtorkar at sancharnet.in> wrote:
> >
> > This is what i get
> >
> > [root at fedora ~]# tracd -p 8080 --auth postal,/trac/trac_project_env,
> > mango.com <http://mango.com>
> > Traceback (most recent call last):
> > File "/usr/bin/tracd", line 328, in ?
> > main()
> > File "/usr/bin/tracd", line 290, in main
> > auths[p] = DigestAuth(h, r)
> > File "/usr/bin/tracd", line 58, in __init__
> > self.load_htdigest(htdigest, realm)
> > File "/usr/bin/tracd", line 65, in load_htdigest
> > fd = open(filename, 'r')
> > IOError: [Errno 21] Is a directory
> >
> >
> >
> >
> >
> >
> >
> >
> > Quoting Norbert Unterberg <nunterberg at gmail.com>:
> >
> > > 2005/10/1, curtorkar at sancharnet.in <curtorkar at sancharnet.in>:
> > >
> > > > But when i try to use tracd --auth --port 8000 /tracenv it gives me
> > the
> > > > following output.
> > > > IOError: [Errno 2] No such file or directory: '--auth/VERSION'
> > >
> > > Have a look at that page:
> > > http://projects.edgewall.com/trac/wiki/TracStandalone
> > >
> > > According to the (very sparse) docs, you should try something like
> > > tracd -p 8080 --auth
> project1,/tmp/users.htdigest,mycompany.com<http://mycompany.com>
> > > /path/to/project1
> > >
> > > meaning the --auth option requires some additional arguments.
> > >
> > > Norbert
> > > _______________________________________________
> > > Trac mailing list
> > > Trac at lists.edgewall.com
> > > http://lists.edgewall.com/mailman/listinfo/trac
> > >
> >
> >
> >
> >
> > ----------------------------------------------------------------
> > This message was sent using NWebmail, BSNL's Webmail Program
> >
> > _______________________________________________
> > Trac mailing list
> > Trac at lists.edgewall.com
> > http://lists.edgewall.com/mailman/listinfo/trac
> >
> 




----------------------------------------------------------------
This message was sent using NWebmail, BSNL's Webmail Program



More information about the Trac mailing list