On Thu, 12 Jul 2001, John Simpson wrote: > When I view the results using Netscape on the server (Red Hat 7.1) > the Save As dialog box keeps appearing.
Before I start I should put a warning that I got up at 6.15am this morning (which is about two an a half hours early for me) so I can't vouch for how coherent I'm going to be ;-) Anyway, it sounds like a mime-type problem that I.E. is ignoring and netscape is probably doing the right thing to. What mime type are you returning in the Content-Type? It probably should be text/html for the main document. If you've got LWP installed I suggest trying the HEAD command from the command line to see what response you get, like: [mark@pate mark]$ HEAD http://2shortplanks.com/ 200 OK Connection: close Date: Thu, 12 Jul 2001 09:30:42 GMT Server: Apache/1.3.20 (Unix) mod_perl/1.25 Content-Type: text/html Client-Date: Thu, 12 Jul 2001 08:21:07 GMT Client-Peer: 195.82.114.169:80 You can see the text/html next to Content-Type. Oh, and that my clock is blatently wrong. Even if it's not the main document it could be one of the images and/or other parts of the content you're delivering has the wrong mime type on. Images should be image/gif, image/jpeg, image/png or whatever. If anything is returning application/OCTET-STREAM or suchlike this is, um, bad. Again, you can use the HEAD command on the images' URLs to find this out. The former (the main document) would indicate a problem with your template code. The latter would show a problem with the rest of your server setup. Of course, I could be barking up completely the wrong tree. Later. Mark. -- s'' Mark Fowler London.pm Bath.pm http://www.twoshortplanks.com/ [EMAIL PROTECTED] ';use Term'Cap;$t=Tgetent Term'Cap{};print$t->Tputs(cl);for$w(split/ +/ ){for(0..30){$|=print$t->Tgoto(cm,$_,$y)." $w";select$k,$k,$k,.03}$y+=2}
