Thanks to Matthew for the useful advice below on getting Tracd
authentication to work.  

Unfortunately, I have run into another roadblock. I have this same
problem under IIS and TracD standalone. There are several actions that I
can take in Trac that result in a failed redirect and a page not found.
Logging in (afer successful login), attempting to Logout, and several
other actions (clicking on Submit button in the Settings page) have the
same effect. To summarize, it looks like Trac is attempting a redirect
back to the calling URL, but the URL output by Trac is mangled -
prepended with http://None    For example:

http://Nonehttp://10.28.34.167:8010/rxstream/settings

Here is the output from Firefox / Live HTTP headers:


http://10.28.34.167:8010/rxstream/settings

POST /rxstream/settings HTTP/1.1
Host: 10.28.34.167:8010
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12)
Gecko/20050915 Firefox/1.0.7
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plai
n;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://10.28.34.167:8010/rxstream/settings
Cookie: trac_session=820e95aced91b9e2d8601f4e
Authorization: Digest username="xxxxxx", realm="xxxx",
nonce="xxxxxxxxxxxxxxxxxxxxx", uri="/rxstream/settings",
response="xxxxxxxxx", qop=auth, nc=00000004, cnonce="xxxxxxxx"
Content-Type: application/x-www-form-urlencoded
Content-Length: 56
action=save&name=&email=&newsid=820e95aced91b9e2d8601f4e
HTTP/1.x 302 Found
Server: tracd/0.9.2 Python/2.3.4
Date: Fri, 06 Jan 2006 20:25:18 GMT
Location: http://Nonehttp://10.28.34.167:8010/rxstream/settings
Content-Type: text/plain
Pragma: no-cache
Cache-Control: no-cache
Expires: Fri, 01 Jan 1999 00:00:00 GMT



Thanks in advance for any help,
Phil Usatine


-----Original Message-----
From: Matthew Good [mailto:[EMAIL PROTECTED] 
Sent: Friday, January 06, 2006 12:07 PM

For the --auth option the first part needs to match the folder name of
the project, or you can use "*" as the project name which will use the
same authentication for all projects.

See
http://projects.edgewall.com/trac/wiki/TracStandalone#UsingAuthenticatio
n

-- 
Matthew Good <[EMAIL PROTECTED]>


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

Reply via email to