On Tue, Mar 22, 2011 at 11:23 AM, Tony Perovic <[email protected]>wrote:
> Apparently, the Fossil Login with never work with IIS 6.0: > > http://support.microsoft.com/kb/176113 > Do I understand that the bug in question has been fixed in IIS 7.0 and that upgrading to IIS 7.0 will fix the issue? > > > Tony Perovic > > Compumation, Inc. > ------------------------------ > > *From:* Tony Perovic > *Sent:* Friday, March 18, 2011 11:01 AM > > *To:* '[email protected]' > *Subject:* RE: [fossil-users] Fossil on IIS > > > > I’m having trouble with the Login page on IIS/CGI…. > > > > I wrote a Perl script that accepts Fossil requests like this: > > > > http://myserver/cgi-bin/Fossil.pl?repository=\Projects\...\Test.fossil > > > > It generates a CGI script (Fossil.cgi): > > > > #! Fossil > > repository: \Projects\...\Test.fossil > > > > then invokes Fossil and logs the output: > > > > $output = `Fossil.exe Fossil.cgi` > > print $output > > log $output > > > > It also creates a cookie that used for subsequent page requests: > > > > Set-Cookie: repository=\Projects\...\Test.fossil > > > > Now the Login page URL looks like this: > > > > http://myserver/cgi-bin/Fossil.pl/login > > > > Using Fill out captcha and clicking the Login button generates the > following HTTP request: > > > > POST /cgi-bin/Fossil.pl/login HTTP/1.1 > > Host: vserver1 > > Connection: keep-alive > > Referer: http://myserver/cgi-bin/Fossil.pl/login > > Content-Length: 45 > > Cache-Control: max-age=0 > > Origin: http://myserver > > Content-Type: application/x-www-form-urlencoded > > Accept: > application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 > > Accept-Encoding: gzip,deflate,sdch > > Accept-Language: en-US,en;q=0.8 > > Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3 > > Cookie: repository=\Projects\Test\Test.fossil > > > > u=anonymous&p=c22b0422&in=Login&cs=1403348019 > > > > Fossil reponds with: > > > > Status: 302 Moved Temporarily > > Set-Cookie: > fossil_login_b213c069=anon%2F2455639.13208575%2F3590e822388f03d7bd4897801ec42b0a7d5e88b6; > Path=/cgi-bin/Fossil.pl; expires=Fri, 18 Mar 2011 21:10:12 GMT; Version=1 > > Location: /cgi-bin/Fossil.pl/index > > Cache-control: no-cache, no-store > > Content-Type: text/html; charset=utf-8 > > Content-Length: 59 > > > > <html> > > <p>Redirect to /cgi-bin/Fossil.pl/index</p> > > </html> > > > > Which should display the Home page logged in as Anonymous but, instead, the > browser receives: > > > > HTTP/1.1 200 OK > > Cache-Control: no-cache, no-store > > Content-Length: 1305 > > Content-Type: text/html; charset=utf-8 > > Server: Microsoft-IIS/6.0 > > Date: Fri, 18 Mar 2011 15:10:12 GMT > > > > <!DOCTYPE html><html> > > <head> > > <title>Unnamed Fossil Project: Home</title> > > <link rel="alternate" type="application/rss+xml" title="RSS Feed" > > href="/cgi-bin/Fossil.pl/timeline.rss" /> > > <link rel="stylesheet" href="/cgi-bin/Fossil.pl/style.css?default" > type="text/css" > > media="screen" /> > > </head> > > <body> > > <div class="header"> > > <div class="logo"> > > <img src="/cgi-bin/Fossil.pl/logo" alt="logo" /> > > </div> > > <div class="title"><small>Unnamed Fossil Project</small><br />Home</div> > > <div class="status">*Not logged in*</div> > > </div> > > <div class="mainmenu"><a href='/cgi-bin/Fossil.pl/home'>Home</a> <a > href='/cgi-bin/Fossil.pl/timeline'>Timeline</a> <a > href='/cgi-bin/Fossil.pl/brlist'>Branches</a> <a > href='/cgi-bin/Fossil.pl/taglist'>Tags</a> <a > href='/cgi-bin/Fossil.pl/reportlist'>Tickets</a> <a > href='/cgi-bin/Fossil.pl/wiki'>Wiki</a> <a > href='/cgi-bin/Fossil.pl/login'>Login</a> </div> > > <div class="content"> > > <p>This is a stub home-page for the project. > > To fill in this page, first go to > > <a href="/cgi-bin/Fossil.pl/setup_config">setup/config</a> > > and establish a "Project Name". Then create a > > wiki page with that name. The content of that wiki page > > will be displayed in place of this message.</p> > > </div> > > <div class="footer"> > > Fossil version [1d93222627] 2011-03-01 19:04 > > > > This is the Home page but I’m not logged in because I never got the login > cookie Fossil sent. > > > > I realize this is probably an IIS question more than a Fossil question but > I’m hoping somebody out there got this working on IIS 6.0 or can at least > point me in the right direction. > > > > Switching from IIS to Linux is not an option. The web server is what it is. > > > > Thank you, > > Tony Perovic > > Compumation, Inc. > > > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > -- D. Richard Hipp [email protected]
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

