Now that I'm back at work, I can check how I have it running here.<br>
<br>
tracd --auth <project>,<full path to htdigest>,<domain> <path to project_env><br>
<br>
The only difference between this and what you have below appears to be the full path to the htdigest.<br>
<br>
When I was setting things up this way, I was actually migrating from a
different setup, using apache and an htpasswd style authentication
file. I had to re-create all of my users using the htdigest program
instead, and things worked fine.<br><br><div><span class="gmail_quote">On 9/30/05, <b class="gmail_sendername"><a href="mailto:curtorkar@sancharnet.in">curtorkar@sancharnet.in</a></b> <<a href="mailto:curtorkar@sancharnet.in">
curtorkar@sancharnet.in</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Hi Todd,<br>I created the htdigest file. I have copied it to my trac project folder that is
<br>/trac and this is the command i fire now.<br><br> tracd -a postal,trac.htpasswd,<a href="http://smarty.com">smarty.com</a> --port 8000 /trac/trac_project_env/<br><br><br>It starts the daemon but I still get error when i click on the login option of
<br>the web page.<br><br>--Walter<br><br>Quoting Brennan Todd <<a href="mailto:brentodd@gmail.com">brentodd@gmail.com</a>>:<br><br>> Did you create the htdigest file? It's been a few weeks since I've done<br>> this, but I was having the same issue as you.
<br>><br>> On 9/30/05, <a href="mailto:curtorkar@sancharnet.in">curtorkar@sancharnet.in</a> <<a href="mailto:curtorkar@sancharnet.in">curtorkar@sancharnet.in</a>> wrote:<br>> ><br>> > This is what i get
<br>> ><br>> > [root@fedora ~]# tracd -p 8080 --auth postal,/trac/trac_project_env,<br>> > <a href="http://mango.com">mango.com</a> <<a href="http://mango.com">http://mango.com</a>><br>> > Traceback (most recent call last):
<br>> > File "/usr/bin/tracd", line 328, in ?<br>> > main()<br>> > File "/usr/bin/tracd", line 290, in main<br>> > auths[p] = DigestAuth(h, r)<br>> > File "/usr/bin/tracd", line 58, in __init__
<br>> > self.load_htdigest(htdigest, realm)<br>> > File "/usr/bin/tracd", line 65, in load_htdigest<br>> > fd = open(filename, 'r')<br>> > IOError: [Errno 21] Is a directory<br>> ><br>
> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > Quoting Norbert Unterberg <<a href="mailto:nunterberg@gmail.com">nunterberg@gmail.com</a>>:<br>> ><br>> > > 2005/10/1,
<a href="mailto:curtorkar@sancharnet.in">curtorkar@sancharnet.in</a> <<a href="mailto:curtorkar@sancharnet.in">curtorkar@sancharnet.in</a>>:<br>> > ><br>> > > > But when i try to use tracd --auth --port 8000 /tracenv it gives me
<br>> > the<br>> > > > following output.<br>> > > > IOError: [Errno 2] No such file or directory: '--auth/VERSION'<br>> > ><br>> > > Have a look at that page:<br>> > >
<a href="http://projects.edgewall.com/trac/wiki/TracStandalone">http://projects.edgewall.com/trac/wiki/TracStandalone</a><br>> > ><br>> > > According to the (very sparse) docs, you should try something like
<br>> > > tracd -p 8080 --auth<br>> project1,/tmp/users.htdigest,<a href="http://mycompany.com">mycompany.com</a><<a href="http://mycompany.com">http://mycompany.com</a>><br>> > > /path/to/project1
<br>> > ><br>> > > meaning the --auth option requires some additional arguments.<br>> > ><br>> > > Norbert<br>> > > _______________________________________________<br>> > > Trac mailing list
<br>> > > <a href="mailto:Trac@lists.edgewall.com">Trac@lists.edgewall.com</a><br>> > > <a href="http://lists.edgewall.com/mailman/listinfo/trac">http://lists.edgewall.com/mailman/listinfo/trac</a><br>> > >
<br>> ><br>> ><br>> ><br>> ><br>> > ----------------------------------------------------------------<br>> > This message was sent using NWebmail, BSNL's Webmail Program<br>> ><br>
> > _______________________________________________<br>> > Trac mailing list<br>> > <a href="mailto:Trac@lists.edgewall.com">Trac@lists.edgewall.com</a><br>> > <a href="http://lists.edgewall.com/mailman/listinfo/trac">
http://lists.edgewall.com/mailman/listinfo/trac</a><br>> ><br>><br><br><br><br><br>----------------------------------------------------------------<br>This message was sent using NWebmail, BSNL's Webmail Program<br>
<br></blockquote></div><br>