Hi Fede, The reason it's broken now is that we've moved to using Basic HTTP auth for the API. This is a standard protocol, and things have supported it forever, but wsgi (and fastcgi) by default actually specifically filter out any Authorization headers related to it. That's what that directive is meant to prevent. The web UI itself doesn't use Basic HTTP auth, which is why you're not seeing the problem there.
I don't know why it's not working for you. If that's the Apache file that your main Apache config is directly including, or those contents are in the main Apache config directly, then it should be solving the problem. The only other thing at this point that I can think of is if the web server actually wasn't restarted. Can you provide the full debug log (pass --debug) on post-review, with a login attempt? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Mar 30, 2011 at 5:08 PM, fede <fede.n...@gmail.com> wrote: > Hi Christian, Thanks for your pormpt response, > > We are using LDAP, and it is working fine from the WEB UI (as before) > > Yes i'm including it directly, the apache-wsgi.conf, it looks like > this > > 1 <VirtualHost *:80> > 2 ServerName reviewboard.al.com.au > 3 DocumentRoot "/var/www/reviewboard/rnd/htdocs" > 4 > 5 # Error handlers > 6 ErrorDocument 500 /errordocs/500.html > 7 > 8 WSGIPassAuthorization On > 9 WSGIScriptAlias "/" "/var/www/reviewboard/rnd/htdocs/ > reviewboard.wsgi" > 10 > 11 <Directory "/var/www/reviewboard/rnd/htdocs"> > 12 AllowOverride All > 13 </Directory> > 14 > 15 # Alias static media requests to filesystem > 16 Alias /media "/var/www/reviewboard/rnd/htdocs/media" > 17 Alias /errordocs "/var/www/reviewboard/rnd/htdocs/ > errordocs" > 18 </VirtualHost> > > > We had it working before with RB 1.0.8, so we have not changed the > apache conf, we just upgrade to 1.5.4 and RBTools: 0.3.1 and the post- > review stop working > There is no message in the httpd.erro.log when I try to submit the > post-review > We upgrade RB and started with a clean DB, so we did the rb-site > install. > > This is the only error on the http/error.log But I think it is not > related > [error] /var/virtualenv/REVIEWBOARD-1/lib/python2.5/site-packages/ > Crypto/Util/randpool.py:40: RandomPool_DeprecationWarning: This > application uses RandomPool, which is BROKEN in older releases. See > http://www.pycrypto.org/randpool-broken > > > Fede > > On Mar 30, 5:46 pm, Christian Hammond <chip...@chipx86.com> wrote: > > Hi, > > > > Just to be sure, is your Apache configuration directly including our > > conf/apache-wsgi.conf? Or did you copy the contents of that file > elsewhere > > when setting up the server? > > > > What authentication backend are you using? > > > > Christian > > > > -- > > Christian Hammond - chip...@chipx86.com > > Review Board -http://www.reviewboard.org > > VMware, Inc. -http://www.vmware.com > > > > > > > > > > > > > > > > On Tue, Mar 29, 2011 at 11:08 PM, fede <fede.n...@gmail.com> wrote: > > > Hi I'm facing a similar problem but I can not solve it with the fixes > > > given above, is there something else I can try ? > > > > > * Review Board: 1.5.4 > > > * RBTools: 0.3.1 > > > * SCM tool: Clearcase > > > * I'm using mod_wsgi > > > > > * I have the following setting on the conf/apache-wsgi.conf > > > WSGIPassAuthorization On > > > > > * Also tried adding this and restarting the httpd service > > > <Directory /> > > > Options FollowSymLinks > > > AllowOverride None > > > Order deny,allow > > > </Directory> > > > > > but still getting > > > "Error creating review request: You are not logged in (HTTP 401, API > > > Error 103)" > > > > > Notes : > > > * As other people and I can log properly on the web ui using the > > > same user/passw > > > * using -n I can see that the diff are well formed > > > > > Thanks in advance > > > fede > > > > > On Mar 9, 11:56 am, "Chris Tandiono" <chris.tandi...@gmail.com> wrote: > > > > Oh huh, that seems like that'd be it. I couldn't try it earlier > (building > > > > > > flooded, power was out, then drive in the RAID started to flake) but > that > > > > > > worked perfectly. Thanks. > > > > > > Chris > > > > > > On Tue, 08 Mar 2011 01:33:07 -0800, Christian Hammond > > > > > > <chip...@chipx86.com> wrote: > > > > > Hi Chris, > > > > > > > Assuming your install is from before RB 1.5.2, you need to make a > small > > > > > change to your Apache configuration. > > > > > > > Try: > > > > > > > > http://www.reviewboard.org/docs/manual/dev/faq/#i-m-using-post-review. > > > .. > > > > > > > Christian > > > > > -- > > > Want to help the Review Board project? Donate today at > > >http://www.reviewboard.org/donate/ > > > Happy user? Let us know athttp://www.reviewboard.org/users/ > > > -~----------~----~----~----~------~----~------~--~--- > > > To unsubscribe from this group, send email to > > > reviewboard+unsubscr...@googlegroups.com > > > For more options, visit this group at > > >http://groups.google.com/group/reviewboard?hl=en > > -- > Want to help the Review Board project? Donate today at > http://www.reviewboard.org/donate/ > Happy user? Let us know at http://www.reviewboard.org/users/ > -~----------~----~----~----~------~----~------~--~--- > To unsubscribe from this group, send email to > reviewboard+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en