Hi,

how can i use the 0.0.0.0 ip adresse for the ALLOWED_HOSTS?

I want to have fdqn (my.review.compagny) and ip of my server (dynamic).
I can't do that ALLOWED_HOSTS = ['reviews.mycompany.com', 'localhost', 
'22.02.02.02' ]


Le mercredi 9 septembre 2015 03:05:03 UTC+2, Christian Hammond a écrit :
>
> Hi,
>
> It's possible that Django is blocking the request for security reasons, 
> due to ALLOWED_HOSTS in conf/settings_local.py not containing the proper 
> list of valid hostnames for Review Board. It should look something like:
>
> ALLOWED_HOSTS = ['reviews.mycompany.com', 'reviews2.mycompany.com']
>
> See if setting that and restarting Apache takes care of the problem.
>
> Christian
>
> -- 
> Christian Hammond - chi...@chipx86.com <javascript:>
> Review Board - https://www.reviewboard.org
> Beanbag, Inc. - https://www.beanbaginc.com
>
> On Tue, Sep 8, 2015 at 6:02 PM, MoonWalker <daniel.c...@gmail.com 
> <javascript:>> wrote:
>
>> I am using RB 2.0.19 and  Django 1.6.11.1 
>> <https://www.reviewboard.org/news/2015/08/24/new-django-1-6-11-1-security-releases/>
>> .
>>
>>
>> 1) In settings_local.py I set DEBUG = False2) Restart apache 3) try to 
>> access my RB page on my browser, but it shows Bad Request (400)
>> If I put back DEBUG = True everything seems okay. I do not have a clue 
>> why is doing that
>>
>> -- 
>> 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...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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

Reply via email to