Babs wrote:-

>I got a similar problem sometime ago; for some unknown reason, it worked
>alright after I restarted Apache afresh. Perhaps it may help you too. Let
>me know how you finally solve the problem.

>Besides that, you need to explicitly tell mod_perl to always send a header
>to the browser, by adding: "PerlSendHeader on" to the http.conf as follows:

Thanks Babs. I tried that! I think you may have altered something in the
conf file or something. And, despite Randy's assertion otherwise I added
'PerlSendHeader on' just now to no effect.

Randy wrote:-

>In your script, are you sending a header such as
>   print "Content-type: text/html\n\n";
>or some such, such that the browser knows it should display
>the contents?

Thanks Randy. I think(?) the issue is that the browser doesn’t know the
contents because the header returned is a wap header i.e. 'Content-Type:
text/vnd.wap.wml'. The browser then assumes it's a file download and
promptly does just that! Although having said that, I have a browser plug-in
that should fire up if the response is wml. It doesn't.

But, while writing this I thought 'I wonder what Netscape does'? You guys
are going to love this! Can you believe that Netscape does as it should and
fires up my plug-in? Well it does. It seems this is an IE Explorer-Mod_perl
specific problem! 

I still need to stop files being downloaded by IE users though!

Kind regards to all,

Angela


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16/10/2003
 


Reply via email to