ALLOWED_HOSTS is a django-specific setting.  My guess is you're running into 
essentially the same issue I had, but I don't know what the fix is for whatever 
framework you're using.




> On Jul 7, 2020, at 12:22 PM, Travis Briggs <[email protected]> wrote:
> 
> I'm getting a 403 forbidden for 
> https://tools.wmflabs.org/enwp10/cgi-bin/pindex.fcgi 
> <https://tools.wmflabs.org/enwp10/cgi-bin/pindex.fcgi> which redirects to 
> https://enwp10.toolforge.org/cgi-bin/pindex.fcgi 
> <https://enwp10.toolforge.org/cgi-bin/pindex.fcgi>
> 
> Does this have to do with allowed hosts? What are allowed hosts and where are 
> they configured?
> 
> Thanks,
> -Travis
> 
> On Tue, Jul 7, 2020 at 7:02 AM Martin Urbanec <[email protected] 
> <mailto:[email protected]>> wrote:
> Yes, you need to add the host to the allowed hosts. 
> 
> Martin
> 
> On Tue, Jul 7, 2020, 3:13 PM Roy Smith <[email protected] 
> <mailto:[email protected]>> wrote:
> I've started getting:
> 
> > Invalid HTTP_HOST header: 'spi-tools-dev.toolforge.org 
> > <http://spi-tools-dev.toolforge.org/>'. You may need to add 
> > 'spi-tools-dev.toolforge.org <http://spi-tools-dev.toolforge.org/>' to 
> > ALLOWED_HOSTS.
> 
> I assume that's related to the change?
> 
> 
> 
> > On Jul 7, 2020, at 6:50 AM, Arturo Borrero Gonzalez <[email protected] 
> > <mailto:[email protected]>> wrote:
> > 
> > On 2020-07-06 17:59, Arturo Borrero Gonzalez wrote:
> >> Hi there!
> >> 
> >> Tomorrow 2020-07-06 at about 10:00 UTC we will enable the legacy 
> >> redirector and
> >> this migration will be completed.
> >> 
> >> All requests to tools.wmflabs.org/ <http://tools.wmflabs.org/><toolname> 
> >> will be permanently redirected to
> >> <toolname>.toolforge.org <http://toolforge.org/>.
> >> 
> >> If you need additional context about this, please read:
> >> 
> >> https://wikitech.wikimedia.org/wiki/News/Toolforge.org 
> >> <https://wikitech.wikimedia.org/wiki/News/Toolforge.org>
> >> 
> >> Please reach out if you need help or have doubts.
> >> 
> > 
> > This has been done!
> > 
> > regards.
> > 
> > -- 
> > Arturo Borrero Gonzalez
> > SRE / Wikimedia Cloud Services
> > Wikimedia Foundation
> > 
> > _______________________________________________
> > Wikimedia Cloud Services mailing list
> > [email protected] <mailto:[email protected]> (formerly 
> > [email protected] <mailto:[email protected]>)
> > https://lists.wikimedia.org/mailman/listinfo/cloud 
> > <https://lists.wikimedia.org/mailman/listinfo/cloud>
> 
> 
> _______________________________________________
> Wikimedia Cloud Services mailing list
> [email protected] <mailto:[email protected]> (formerly 
> [email protected] <mailto:[email protected]>)
> https://lists.wikimedia.org/mailman/listinfo/cloud 
> <https://lists.wikimedia.org/mailman/listinfo/cloud>_______________________________________________
> Wikimedia Cloud Services mailing list
> [email protected] <mailto:[email protected]> (formerly 
> [email protected] <mailto:[email protected]>)
> https://lists.wikimedia.org/mailman/listinfo/cloud 
> <https://lists.wikimedia.org/mailman/listinfo/cloud>_______________________________________________
> Wikimedia Cloud Services mailing list
> [email protected] (formerly [email protected])
> https://lists.wikimedia.org/mailman/listinfo/cloud

_______________________________________________
Wikimedia Cloud Services mailing list
[email protected] (formerly [email protected])
https://lists.wikimedia.org/mailman/listinfo/cloud

Reply via email to