[mod_python] Problem with clueless Internet Explorer

Damjan gdamjan at mail.net.mk
Mon May 29 19:31:08 EDT 2006


> 
> Currently I'm testing PSP pages. If requesting with Firefox a psp page 
> everything
> works fine. If requesting with MSIE, I'm prompted with a security hint
> to choose wether I want to download or open the file, - huh?
> 
> example url:
> http://localhost/MyWebapp/MyPage_view.psp?eid=2
> or
> http://192.168.11.11/MyWebapp/MyPage_view.psp?eid=2
> 
> Both doesn't work with MSIE.
> 
> Well, I'm sure that I have misconfigured something, thus MSIE is getting
> confused of the content type, but I'm not sure, where to start. Apache
> config, htaccess, Python script or HTML... I wonder that Firefox has no
> problems with that. Of course I can provide more information if needed.

Check with the LiveHttp headers Firefox extension if your pages a
returning the correct header "Content-Type: text/html"?

Or, you can also check like this:
  telnet localhost 80
  GET /MyWebapp/MyPage_view.psp?eid=2 HTTP/1.0
  Host: localhost

  <empty line here ... just press ENTER>
  <... you'll receive something like ...>
  HTTP/1.1 200 OK
  Date: Mon, 29 May 2006 23:27:57 GMT
  Server: Apache/2.0.54 (Unix) DAV/2 PHP/5.0.4 mod_python/3.1.4
  Python/2.4.2 mod_scgi/1.7
  Accept-Ranges: bytes
  Connection: close
  Content-Type: text/html


-- 
damjan | дамјан
This is my jabber ID -->         damjan at bagra.net.mk 
 -- not my mail address, it's a Jabber ID --^ :)


More information about the Mod_python mailing list