httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsand...@satx.rr.com
Subject [users@httpd] Content-type in cgi scripting
Date Thu, 13 Jul 2006 04:18:53 GMT
I've been going slow^H^H^H^Hrapidly insane over this.  I put the print
statement for the Content-type at the beginning of the script, as
text/plain - I didn't want any html control going on (like ignoring white
space) - for the output of my perl script.

I've been testing with mozilla and all was cool.  Then I used Internet
Exploder on a windows box and it wants to download my perl script (when it
does, the content of the file is the text output that I wanted in the
browser window).  If I change "plain" to "html" exploder works fine - but
my text looks like mush.

So my question is, do I have a) Apache configured wrong, b) exploder
configured wrong, or c) my perl written wrong?  And what do I do to fix a)
or b)?

I suppose a solution if c) is to use the PRE html tag before and after the
block of text.

-- --------------------------------------------------------
John B. Sandlin    jsandlin@satx.rr.com
-- --------------------------------------------------------


---------------------------------------------------------------------
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