Unfortunately I don't see traceback neither in my nginx log or my apache log that is what is making it very confusing and difficult to debug...
-Subodh On Sun, Aug 17, 2014 at 11:37 AM, Cal Leeming [iops.io] <c...@iops.io> wrote: > Can you please send us the traceback of the error generated? (assuming there > is one) > > Cal > > > On Sun, Aug 17, 2014 at 7:25 PM, Subodh Nijsure <subodh.nijs...@gmail.com> > wrote: >> >> I am totally stumped why I can't get my site to work when DEBUG=False. >> >> I have entered my domain name and IP address in the ALLOWED_HOSTS >> >> I even tried putting '*' in my ALLOWED_HOST but when DEBUG=False I >> always get my 400.html page served to me. As soon as DEBUG=True >> everything works great. >> >> I have search through google tried all the checks people say to try ( >> I think) , all my urls end in '/'. none of my local.py or base.py have >> DEBUG setting or ALLOWED_HOSTS >> >> ALLOWED_HOSTS = ['1.2.3.4', 'www.myhost.com', '*' , ] >> >> Nothing seems to be working. >> >> I even inserted by own dummy LoginRequierdMiddleware class it does get >> called but I don't see anything wrong with request coming in. >> >> class LoginRequiredMiddleware: >> def process_request(self, request): >> print request >> >> I am running nginx and apache2 in production environment. I am really >> stuck , desperately need help!Any clues on how to debug this? >> >> -Subodh >> >> -- >> 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/CALr9Q3Y_CvwWo1cPEcmROok13VQOneKnis2m9rwGQULbqo%3DpaQ%40mail.gmail.com. >> 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/CAHKQagG%2BoyHxp%3DkOFZLZZBfrVLDcBYpWBPtFRAwKediRdwWkjg%40mail.gmail.com. > 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/CALr9Q3aM4KgYZa4Jwe3egoyCzvK3UFTngmY7ckCb4sPPPtrMPw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.