httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon <dra...@crimson-dragon.com>
Subject Re: [users@httpd] Firefox and html
Date Tue, 04 Mar 2008 16:05:47 GMT
Grant Peel wrote:
>Hi all,
>
>I am just starting to investigate why:
>
>An html page (with an html extension), sent to Firefox (2.0.0.12), 
>will render a page (with a form), and will allow me to 'post' it. 
>But when the (Perl) cgi script returns the answer page (using a 
>'print qq~ ...' statement, the resulting page shows html code 
>(Firefox does not render the page).
>
>Any ideas?
---------------- End original message. ---------------------

Your script needs to send a Content-type header. If you don't do 
that, Firefox is assuming it is getting a text/plain document.

Dragon

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message