[ 
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:42 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]

[https://serverfault.com/questions/567320/difference-between-default-and-in-virtualhost-context]
 - probably shouldn't be using _default_, it's not doing what I thought (it's 
just an alias for an ip address wildcard, now a virtual name wildcard)


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

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

https://serverfault.com/questions/567320/difference-between-default-and-in-virtualhost-context


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

Reply via email to