You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2020/02/27 21:16:00 UTC

[jira] [Comment Edited] (AIRAVATA-3027) Invalid HTTP_HOST header: 'django.simccs.scigap.org'. You may need to add 'django.simccs.scigap.org' to ALLOWED_HOSTS.

    [ https://issues.apache.org/jira/browse/AIRAVATA-3027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17046973#comment-17046973 ] 

Marcus Christie edited comment on AIRAVATA-3027 at 2/27/20 9:15 PM:
--------------------------------------------------------------------

https://madcoda.com/2014/04/define-a-catch-all-named-virtual-host-in-apache/

http://httpd.apache.org/docs/current/vhosts/details.html

http://httpd.apache.org/docs/current/vhosts/examples.html#default

https://wiki.centos.org/TipsAndTricks/ApacheVhostDefault

https://www.jamescoyle.net/how-to/107-apache-2-catch-all-virtualhost



was (Author: marcuschristie):
https://madcoda.com/2014/04/define-a-catch-all-named-virtual-host-in-apache/

http://httpd.apache.org/docs/current/vhosts/details.html

http://httpd.apache.org/docs/current/vhosts/examples.html#default

https://wiki.centos.org/TipsAndTricks/ApacheVhostDefault

> Invalid HTTP_HOST header: 'django.simccs.scigap.org'. You may need to add 'django.simccs.scigap.org' to ALLOWED_HOSTS.
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: AIRAVATA-3027
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3027
>             Project: Airavata
>          Issue Type: Project
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> Getting lots of these error emails. I think the root cause is that HTTP requests on the portal server are matching some virtual host that isn't configured for that domain name. So for example, we might have a virtual host for django.example.com, another one for django.example2.org, etc. but then an HTTP request comes in for the servers IP address and Apache forwards the request to one of the Django servers. 
> Ultimately what I want is to configure a default virtual host in Apache that rejects a request for a non-matching domain name.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)