I solved this problem. Installed Reviewboard without root access to a 
shared hosting.
I wrote a blog entry about it:
http://www.koivunalho.org/blogs/exercises-in-integration-and-delivery/private-repository-part-2.html

--
Mikko Koivunalho

On Sunday, 29 July 2018 20:32:50 UTC+2, Mikko Koivunalho wrote:
>
> I am using a shared server and I cannot have a dedicated site in Apache 
> HTTP for Reviewboard. So I have to do the configuration in a .htaccess file.
>
> I started with creating a Python virtual environment outside the website 
> directory "www".
> I got the Django and Reviewboard partly running. I get the front page out 
> but when I try to login at
> <host>/reviewboard/account/login/ it always just says "
> The page you were looking for does not exist. 
>
> If you're pretty sure this page *does* exist, try logging in 
> <https://mikkoi.kapsi.fi/reviewboard/account/login/> and trying again."
>
> It feels like a config error in Django, or more likely a routing error in 
> .htaccess.
>
> The only error I get from Django is "Cannot access account/login".
>
>
> Does anyone have any experience in using .htaccess in Reviewboard 
> installation?
>
>
> ---
>
> > cat .htaccess
> RewriteEngine On
> RewriteCond %{ENV:HTTPS} !on
> RewriteRule (.*) https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
>
> # RewriteBase "/reviewboard"
> RewriteRule ^/(media.*)$ /reviewboard/htdocs/$1 [QSA,L,PT]
> RewriteRule ^/(static.*)$ /reviewboard/htdocs/$1 [QSA,L,PT]
> RewriteRule ^/(errordocs.*)$ /reviewboard/htdocs/$1 [QSA,L,PT]
> # RewriteRule ^errordocs(.*) errordocs$1
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteRule ^/(.*)$ /reviewboard/htdocs/reviewboard.fcgi/$1 
> [QSA,E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
>
> # Error handlers
> ErrorDocument 500 /reviewboard/errordocs/500.html
> ---
>
>
> --
>
> Mikko Koivunalho
>
>
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to