On Dec 24, 4:13 am, Martyn <martyn.ha...@gmail.com> wrote: > Hey, > > I'm getting a 'Premature end of script headers' issue when I'm > submitting post data, and I'm not sure why. > > if I hit the page up normally, it works fine, if I post a form to the > same url it borks. > > Anyone know why? I'm searched for a while now and not found anything > relevant.
What hosting mechanism are you using? It is vitally important to know in the case of that error message. In general though, it often means the process handling the request crashed, and what ever front end proxying system in Apache you are using, ie., CGI, mod_wsgi daemon mode, scgi, is then generating that error. The alternative to a crash is that the process handling the request has hung in some way and the proxying socket connection has timed out. You should scan the error logs, both main and virtual host, closely for any other error messages around that time, eg. Segmentation faults, and provide that information as well. As I ask above though, important to say what hosting mechanism you are actually using and even the configuration you use in Apache related to the application being hosted. Graham -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.