> What is "trac_env", how did you create it?

I was following the FAQ on
http://projects.edgewall.com/trac/wiki/TracOnWindowsStandalone
Therefore, I did
- C:\> svnadmin create C:\path\to\svn_project
- C:\Python23\Scripts> python trac-admin C:\path\to\trac_env initenv
- C:\Python23\Scripts> python tracd --port 8000 C:\path\to\projectenv

Typo in the FAQ?

Ok, you were referring to the FAQ. "trac_env" and "projectenv" are the
same here, I'll upgrade the FAQ, this is quite confusing.

"svn_project" is the location where you wish to store your SVN
repository (if you don't already have one),
"trac_env"/"projectenv"/"trac_project_env" are all the same here, and
indicate where Trac stores its data (the database, among other data)

About the authentication issue:

The "realm" is a HTTP thing, a namespace to group credentials
(login/password). You can choose the one you want, as long as you use
the same string in the htdigest file (2nd field, "trac" in your case)
and as the 3rd argument of --auth for tracd.

Moreover, the first argument for --auth should be the name of the
project. The project name is case-sensitive, here, so be careful. The
"name" of the project is trac_env here.

In other words, if you have created your Trac project with

trac-admin c:\path\to\myproject

you should run tracd as:

tracd --auth myproject,htdigest,trac c:\path\to\myproject

with htdigest containing "trac" as the second field.

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

Reply via email to