Re: Django app runs with DEBUG=True but gives "Bad Request (400)" error with DEBUG=False (Using Apache and WSGI). Why?

2014-08-14 Thread Chris Seberino
Ug!! That was it!! THanks!!!

cs

On Thursday, August 14, 2014 10:14:34 PM UTC-5, Collin Anderson wrote:
>
> a quick thing to check: is your ALLOWED_HOSTS set correctly? 
>

-- 
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/aa49887d-c362-43cd-9b29-d7eeb8b4f00a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django app runs with DEBUG=True but gives "Bad Request (400)" error with DEBUG=False (Using Apache and WSGI). Why?

2014-08-14 Thread Collin Anderson
a quick thing to check: is your ALLOWED_HOSTS set correctly?

-- 
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/CAFO84S7DCRVU10dsCnxQxPmkS2LgBUkjBbTSYneRGPuypEus%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Django app runs with DEBUG=True but gives "Bad Request (400)" error with DEBUG=False (Using Apache and WSGI). Why?

2014-08-14 Thread Chris Seberino
If I set DEBUG=True this Django app runs fine.  If I remove DEBUG=True I get
a "Bad Request (400)" and apache error logs show lots of this..

[Fri Aug 15 03:04:27.400567 2014] [core:warn] [pid 2011:tid 
140575764432768] AH00045: child process 2015 still did not exit, sending a 
SIGTERM
[Fri Aug 15 03:04:29.402824 2014] [core:warn] [pid 2011:tid 
140575764432768] AH00045: child process 2015 still did not exit, sending a 
SIGTERM
[Fri Aug 15 03:04:31.405041 2014] [core:warn] [pid 2011:tid 
140575764432768] AH00045: child process 2015 still did not exit, sending a 
SIGTERM
[Fri Aug 15 03:04:33.407308 2014] [core:error] [pid 2011:tid 
140575764432768] AH00046: child process 2015 still did not exit, sending a 
SIGKILL

Why would it work with DEBUG turned on?

cs

-- 
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/f29c4f76-a4e1-45ae-bdd6-2f2e15601630%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.