How to setup reviewboard url with path?

2015-06-21 Thread cid . pega

I use nginx as reverse proxy and http://ip/reviewboard/ for Review Board, 
but failed.

If I use http://ip/ for Review Board, it seems work, but that's not what I 
want.

I surfed for some posts but does not solve my problem.

I use mod_wsgi for official installation guide suggests me to.

Review Board is really difficult to install. I stuck very long then found 
the answer is ALLOWED_HOSTS = ['*'].

But then the path issue.

Please help me. Thank you.

Cid

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


Re: How to setup reviewboard url with path?

2015-06-21 Thread Huang Cid

My ReviewBoard is set on a VM, the reviews.example.com map to 192.168.56.99.

I browse ReviewBoard from host with http://192.168.56.99/ and it is ok.

And then my host uses nginx as reverse proxy:

location /reviewboard/ {
proxy_pass http://192.168.56.99/;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host; 
}

But http://myHostIp/reviewboard/ does not work.

Please help me.

Thank you,

Cid


On Monday, June 22, 2015 at 2:08:56 AM UTC+8, Christian Hammond wrote:

 Hi,

 I don't have a good sense about what problems you're hitting. How does it 
 fail?

 Can you show us your web server configuration for this site, and your 
 $sitedir/conf/settings_local.py (make sure NOT to include the SECRET_KEY 
 line or your database information).

 Christian


 On Sunday, June 21, 2015, cid@gmail.com javascript: wrote:


 I use nginx as reverse proxy and http://ip/reviewboard/ for Review 
 Board, but failed.

 If I use http://ip/ for Review Board, it seems work, but that's not what 
 I want.

 I surfed for some posts but does not solve my problem.

 I use mod_wsgi for official installation guide suggests me to.

 Review Board is really difficult to install. I stuck very long then found 
 the answer is ALLOWED_HOSTS = ['*'].

 But then the path issue.

 Please help me. Thank you.

 Cid

  -- 
 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 
 reviewboard 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 - chri...@beanbaginc.com javascript:
 Review Board - http://www.reviewboard.org
 Beanbag, Inc. - http://www.beanbaginc.com



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


Re: How to setup reviewboard url with path?

2015-06-21 Thread Christian Hammond
Hi,

I don't have a good sense about what problems you're hitting. How does it
fail?

Can you show us your web server configuration for this site, and your
$sitedir/conf/settings_local.py (make sure NOT to include the SECRET_KEY
line or your database information).

Christian


On Sunday, June 21, 2015, cid.p...@gmail.com wrote:


 I use nginx as reverse proxy and http://ip/reviewboard/ for Review Board,
 but failed.

 If I use http://ip/ for Review Board, it seems work, but that's not what
 I want.

 I surfed for some posts but does not solve my problem.

 I use mod_wsgi for official installation guide suggests me to.

 Review Board is really difficult to install. I stuck very long then found
 the answer is ALLOWED_HOSTS = ['*'].

 But then the path issue.

 Please help me. Thank you.

 Cid

  --
 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
 reviewboard group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to reviewboard+unsubscr...@googlegroups.com
 javascript:_e(%7B%7D,'cvml','reviewboard%2bunsubscr...@googlegroups.com');
 .
 For more options, visit https://groups.google.com/d/optout.



-- 
-- 
Christian Hammond - christ...@beanbaginc.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com

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