Hi Phil,

It looks like your path to the Review Board server is configured wrong. It
looks like you've installed RB in a subdirectory install, but your
repository is pointing to the root of the server and not the subdirectory.

If you're using the reviewboard:url SVN property, try setting it to
http://lodine.elyion.com/reviewboard. Or if you're using .reviewboardrc, put
it there instead.

Christian

-- 
Christian Hammond - [email protected]
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Fri, Oct 14, 2011 at 10:23 AM, Phil Lodine <[email protected]> wrote:

> I've installed the RB 1.6.1 on my Windows 7 machine, with Apache 2.2
> and mod_python, for use with our company's Subversion repository.
> (Many thanks to David Ball for his excellent braindump on installing
> RB on Windows!) The RB Admin site works fine (able to set up users,
> review groups etc.).
>
> However, I'm unable to run post-review -- it immediately reports
> "Unable to log in with the supplied username and password." I'm
> running post-review from the same machine on which Apache & RB are
> installed.
>
> I've tried using my admin username/pw, and also created another non-
> admin user and tried using its credentials. Also, trying with no --
> username and --password fails with same way and without prompting me
> for username/pw information. Post-review doesn't appear to get as far
> as actually diffing my local files against the SVN repository.
>
> Here's what I get on the command line:
> c:\work> post-review -d
> >>> RBTools 0.3.4
> >>> Home = C:\Users\phil.lodine\AppData\Roaming
> >>> svn info
> >>> diff --version
> >>> repository info: [removed -- however, post-review shows the correct
> path to our SVN repo & to the branch I'm working on] Supports changesets:
> False
> >>> svn propget reviewboard:url c:\work
> >>> HTTP GETting api/
> >>> Got HTTP error: 404: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>404 Not Found</title>
> </head><body>
> <h1>Not Found</h1>
> <p>The requested URL /api/ was not found on this server.</p>
> </body></html>
>
> Apache's logs show '"GET /api/ HTTP/1.1" 404 202'
>
> I understand that /api/ is handled internally by RB and doesn't
> correspond to a directory in my local file system. Is a path for this
> resource missing from my Apache configuration? I've added RB to my c:
> \Apache2.2\conf\httpd.conf as follows:
>
> <VirtualHost *:80>
>        ServerName lodine.eliyon.com
>        DocumentRoot "c:/www/reviewboard/htdocs"
>
>        # Error handlers
>        ErrorDocument 500 /errordocs/500.html
>
>        # Serve django pages
>        <Location "/reviewboard/">
>                PythonPath "['c:/www/reviewboard/conf'] + sys.path"
>                SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
>                SetEnv PYTHON_EGG_CACHE "c:/www/reviewboard/tmp/egg_cache"
>                SetEnv HOME "c:/www/reviewboard/data"
>                SetHandler mod_python
>                PythonHandler django.core.handlers.modpython
>                PythonAutoReload Off
>                PythonDebug Off
>                # Used to run multiple mod_python sites in the same apache
>                PythonInterpreter reviewboard_reviewboard
>        </Location>
>
>        # Serve static media without running it through mod_python
>        # (overrides the above)
>        <Location "/reviewboard/media">
>                SetHandler None
>        </Location>
>        <Location "/reviewboard/errordocs">
>                SetHandler None
>        </Location>
>
>        <Directory "c:/www/reviewboard/htdocs">
>                AllowOverride All
>                Order allow,deny
>                Allow from all
>        </Directory>
>
>        # Alias static media requests to filesystem
>        Alias /reviewboard/media "c:/www/reviewboard/htdocs/media"
>        Alias /reviewboard/errordocs "c:/www/reviewboard/htdocs/errordocs"
> </VirtualHost>
>
>
> I understand that
> Am I missing some Apache configuration settings?
>
> Any help appreciated! :-)
>
> --
> 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
> [email protected]
> 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 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to