www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Qu <...@rand.com>
Subject os-windows/2406: mime type support error when publish text file using "Location: URL..."
Date Wed, 10 Jun 1998 15:25:51 GMT

>Number:         2406
>Category:       os-windows
>Synopsis:       mime type support error when publish text file using "Location: URL..."
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jun 10 08:30:00 PDT 1998
>Originator:     jqu@rand.com
>Release:        1.3b7
Installed Apache 1.3b7 on NT workstation 4.0 .  Browsing the web using
Netscape 4.X from  NT.
The first HTML page defines a call-back . Click the call-back , a CGI function
is called and the output text file ( non HTML file, it is *.igs ) is publish
using   " Location: URL "  by the cgi function.

On browser side, a DOS window is opened and the every singal line in the text file
is taken as a DOS command ( in other word, the text file is processed as a DOS
script file even the helper is defined to handle this file type ) .

MIME.TYPES file was correctly setup to support this file type ( .igs ) .
Define a call-back like

<A HREF=URL/cgi-bin/function ... > ...</A>

In the program "function" , publish a text file "test.igs" like

Location: URL/test.igs

[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message