Internet Explorer does not talk to django dev server

I am running the python development server locally, for example:

python .\manage.py runserver 

This works fine in Firefox / Chrome / Safari, but when I try to use Internet Explorere (9, 8, 7), the server will not interact with the browser - actions such as logging in will be permanent and will ultimately fail.

In fact, everything that is not a simple static template (sometimes not even that) will not load in IE (but it loads fine in FF / Chrome)

My environment:

  • Windows 7 (x64)
  • Aptana
  • Python v2.7.2
  • django v1.3

Update: this does not happen when I explicitly determine the server IP address, for example:

 python .\manage.py runserver 192.168.1.123:8000 

Any ideas? offers?

+4
source share
2 answers

Two guesses:

  • If you are running Windows and pointing your browser to localhost: 8000, try 127.0.0.1:8000. I had this problem with IE9 before.

  • If you work with a virtual machine (I ask because IE7,8,9 not everyone will work on the same OS), you need to specify the IP address of the host computer, since localhost will be the local IP of the virtual machine itself.

+1
source

Try adding the following to your httpd.conf. I had problems before IE sent the POST data.

 SetEnvIf User-Agent ".*MSIE.*" ssl-unclean-shutdown MaxKeepAliveRequests 1 
0
source

All Articles