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 audiodude@gmail.com 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 <martin.urbanec@wikimedia.cz mailto:martin.urbanec@wikimedia.cz> wrote: Yes, you need to add the host to the allowed hosts.
Martin
On Tue, Jul 7, 2020, 3:13 PM Roy Smith <roy@panix.com mailto:roy@panix.com> 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 <aborrero@wikimedia.org mailto:aborrero@wikimedia.org> 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 Cloud@lists.wikimedia.org mailto:Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org mailto:labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud https://lists.wikimedia.org/mailman/listinfo/cloud
Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org mailto:Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org mailto:labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud https://lists.wikimedia.org/mailman/listinfo/cloud_______________________________________________ Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org mailto:Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org mailto:labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud https://lists.wikimedia.org/mailman/listinfo/cloud_______________________________________________ Wikimedia Cloud Services mailing list Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/cloud