What is the value of ALLOWED_HOSTS in settings.py?

Your site is serving requests that contain a "Host: 
www.g3suprimentos.com.br<http://www.g3suprimentos.com.br>" header. Django 
doesn't recognize this as an allowed host, hence the error.

https://docs.djangoproject.com/en/1.7/ref/settings/#allowed-hosts has more.

Eric Davis
Email: eda...@eresources.com<mailto:eda...@eresources.com>
Skype: edavis215

On Mar 17, 2015, at 6:17 AM, frocco 
<faro...@gmail.com<mailto:faro...@gmail.com>> wrote:

SuspiciousOperation: Invalid HTTP_HOST header (you may need to set 
ALLOWED_HOSTS): www.g3suprimentos.com.br<http://www.g3suprimentos.com.br/>

I keep getting this error from time to time.

Is someone trying to hack my site?

Thanks

--
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
django-users+unsubscr...@googlegroups.com<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto:django-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1aa55c70-e51b-44f0-aae6-d1ca3e666467%40googlegroups.com<https://groups.google.com/d/msgid/django-users/1aa55c70-e51b-44f0-aae6-d1ca3e666467%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0A0A953B-A33B-4148-88A1-83FB706AEB40%40eresources.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to