On Tue, 17 Oct 2000, Derek Martin wrote:
> Ok so finally I got my page working, and it works for everyone except one
> of our junior administrators, who, rather than seeing the output of the
> perl script, gets a file box asking him to save the .pl file.
First, as always, check the web server logs. Try increasing the amount of
information logged. If the script you are using can be made to log
information, turn that on, too.
Next: If the user saves the file, and you look at the contents of said
file, is it the output of the Perl script, or the Perl script itself? If it
is the former, then something is wrong with content type presentation or
interpretation. If it is the latter, Apache is getting confused about what to
do with the script. Most likely, it is the former, but we all know about
assumptions. :-)
Check the MIME configuration on the client. This includes
"/etc/mime.types", the various "mailcap" files, and the browser's own MIME
configuration. In Netscape 4.x, go to the Edit menu, pick Preferences, find
category "Navigator -> Applications", and look for the MIME type in question.
Have you tried a different browser? On Linux, try Lynx; on Windoze, try
MSIE.
If that doesn't shed any light on the problem... I assume you have control
over the script. Try inserting (or replacing) commands such that the CGI
environment of the client request is dumped to the output. Then compare the
result between a client that works and a client that doesn't.
On Tue, 17 Oct 2000, Marc Evans wrote:
> This is a function of the browser. A review of the HTTP standard reveals
> that there is currently no official standard (to my knowledge) for the
> server to inform the browser of the filename for a stream it sends.
I'm believe Derek wanted the output displayed by the client, not saved to a
file at all.
> So it's got to be a browser configuration issue... doesn't it?
See above about assumptions, but yeah, sounds like. :)
--
Ben Scott <[EMAIL PROTECTED]>
Net Technologies, Inc. <http://www.ntisys.com>
Voice: (800)905-3049 x18 Fax: (978)499-7839
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************