Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

CGI page shows up as unrendered HTML code

Name: Anonymous 2006-03-31 22:07

Say you have a web page generated by a perl script (apache+mod_perl) and, rather than getting a rendered HTML page in your browser, you get the HTML code. Anyone know the cause/solution to this?

Name: Anonymous 2006-04-01 3:37

It's because the content type being returned is wrong. You need to have "Content-Type: text/html" in the headers.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List