Modified ALLOWED_HOSTS to permit some (surprising) alternative HTTP_HOST names. Are these a result of queries proxied through other ietf.org domains? The numerical address is the mail server address. We should find out why that appears, and see if it can be made to appear as mail.ietf.org instead.

- Legacy-Id: 7197
This commit is contained in:
Henrik Levkowetz 2014-01-31 19:07:37 +00:00
parent a184a362eb
commit 04d940534d

View file

@ -34,7 +34,7 @@ ADMINS = (
('Ryan Cross', 'rcross@amsl.com'),
)
ALLOWED_HOSTS = ["datatracker.ietf.org"]
ALLOWED_HOSTS = [".ietf.org", "4.31.198.44", ]
# Server name of the tools server
TOOLS_SERVER = 'tools.' + IETF_DOMAIN
@ -107,6 +107,7 @@ LOGGING['handlers']['mail_admins']['include_html'] = True
SESSION_COOKIE_AGE = 43200 # 12 hours
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.Loader',