You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Florent Guillaume <gu...@clipper.ens.fr> on 1996/01/06 01:34:50 UTC

cgi problem

I don't have time to answer to this guy now, so I thought I'd forward it
to the list.

Forwarded Message:


I hate to bother you but may be you can resolve the following ... Thank 
you in advance ... Bev.

FYI:

Thank you for the response .... I am boggled to why this does not work 
for me ...

When I execute a CGI that starts with:
-------------------------------------------------
#!/bin/sh
#File: Menu.cgi

echo -e "Window-target: MAIN \n"
echo -e "Location: /docs/file.html \n\n"
------------------------------------------------

Netscape sees the Window-target statement as an unrecognized MIME type 
and asks the user what to save this file Menu.cgi as and does not even 
get to the /docs/file.html line ... hmm.

I wonder if this is an apache problem ...

Thank you!

Bev.


----------
From:   Will Kessler[SMTP:kessler@roses.Stanford.EDU]
Sent:   Thursday, January 04, 1996 3:17 AM
To:     Alex P.
Subject:        Re: Window-target tag for Netscape Frames in a CGI ... 
HOW?


Hi, Don't know about apache, but from netsite and ncsa I just use in 
perl5:

print "Window-target: window_name$CRLF";

where window_name is the one given in the frame tags. I put this along 
with
other content headers.  So NOT in the html.

--
Will Kessler
kessler@roses.stanford.edu
Rehabilition Research Division
Dept. of Veterans Affairs
3801 Miranda Avenue/153
Palo Alto, CA 93404-1200
(415) 493-5000 x4726