Fixed my patch problems, it seems I have to set my windows editor to use LF alone, or else bad things happen. You'll probably be getting a patch about that too ;)
In the meantime, here's a patch with both the Makefile and http updates. --- original message follows --- There's probably a more official channel for this, but I've never been much for paperwork, so here goes. Here's a patch to do basic authorization with my public domain blessing (in case there is any doubt), and my story in case it helps you troubleshoot your own 401 problem. So I set up fossil behind Apache, HTTPS+basic authorization. Had to fuss a bit with the Makefile for the client, but otherwise everything is going well until I try to do a... fossil clone https://myuser:mypass@mysite/fossil/myproj myprojfossil and I get back 401 Authorization Required. I check the Apache logs on the server (/var/log/httpd/ssl_access_log), and it says I didn't authenticate the POST, which loooks like this (obviously not my real IP address): 1.2.3.4 - - [26/Mar/2011:19:27:54] "POST https://mysite/fossil/myproj/xfer/xfer HTTP/1.0" 401 486 Clearly not sending the password. If you're troubleshooting your own problems along these lines, and you missed that, the "- -" part should read "- myuser -", when the authorization is sent, and the 401 we got is the next to last field, which will be 200 when all is clear. Easy enough with a search for "xfer/xfer", and yes the "Authorization: Basic" header is nowhere in sight, so I add it rebuild and run it, here is what the success log looks like when the authorization is present. 1.2.3.4 - myuser - [26/Mar/2011:19:47:54] "POST https://mysite/fossil/myproj/xfer/xfer HTTP/1.0" 200 486 On an unrelated note, I originally included the Makefile.mingw patch too, it's only about 6 lines or so, but for some reason diff had a hard time picking out my 6 lines from the rest, and produced a diff that subtracted the entire old version of the contents and then added the entire version of the new contents. The result was a 100k patch, and the mail got flagged as too big. If anyone needs that patch it's theirs for the asking. mightyhe
https.diff
Description: Binary data
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users