Hi, 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?
Because you're not returning the correct content type. Sounds like it's being served as text/plain, not text/html.
Neil. -- Neil Hillard neil.hillard@xxxxxxxxxxxxxxxxxx AgustaWestland http://www.whl.co.uk/ Disclaimer: This message does not necessarily reflect the views of Westland Helicopters Ltd. --------------------------------------------------------------------- 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