Re: Firefox and html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux