Hi Mikko,

It don't believe it's truly possible to run without having a dedicated
VirtualHost configuration. Certainly it's not something we can support.
We're only allowing mod_wsgi going forward, and I don't believe this can be
configured via .htaccess.

Are your repositories accessible over the Internet? If so, we have a Review
Board hosting service at https://rbcommons.com/ that might be helpful.

Christian

On Sun, Jul 29, 2018 at 11:32 AM Mikko Koivunalho <
mikko.koivuna...@gmail.com> 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.
>


-- 
Christian Hammond
President/CEO of Beanbag <https://www.beanbaginc.com/>
Makers of Review Board <https://www.reviewboard.org/>

-- 
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