httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Skolnick <cl...@organic.com>
Subject WWW Form Bug Report: "Including a text file doesn't work as expected" on Solaris 2.x (fwd)
Date Thu, 27 Jun 1996 16:57:42 GMT

THis is a strange one...can someone help this guy?

--
Cliff Skolnick, CIO      http://www.organic.com/     cliff@organic.com
Organic Online, Inc.       ** we're hiring **           (415) 278-5650
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- Benjamin Franklin, 1759

---------- Forwarded message ----------
Date: Thu Jun 27  9:29:14 1996
From: cschanzle@nist.gov
To: cliff@organic.com
Subject: WWW Form Bug Report: "Including a text file doesn't work as expected" on Solaris
2.x

Submitter: cschanzle@nist.gov
Operating system: Solaris 2.x, version: 5.4
Version of Apache Used: 1.03, 1.05, 1.1b4
Extra Modules used: mod_include
URL exhibiting problem: http://zing.ncsl.nist.gov/~chris/cgi-tips.html

Symptoms:
--
I'm trying to include a simple, brain-dead ASCII file into
one of my HTML documents using the #include directive
of SSI, but I must be doing something stupid to make 
it not work.  Other directives work fine (see tail of
http://zing.ncsl.nist.gov/~chris/tips.html )

1.03 and 1.05 give errors on the html code:

<!--#include file="imagemap/vette.map" -->
or
<!--#include virtual="imagemap/vette.map" -->

Such as:

[Thu Jun 27 10:59:08 1996] unable to include imagemap/vette.map in\
 parsed file /home/chris/html/cgi-tips.html

I have tried many variations on the virtual -vs- file
with relative paths, explict, virtual and real.  No luck.


The browser sees 'error processing directive'.

What I want is to simply include the ASCII text from the vette.map
file into the HTML source (which is surrounded with <PRE>).
The vette.map file really is in /home/chris/html/imagemap/vette.map
and is readable by the world (so is the directory).

This worked on NCSA 1.3 -> 1.5.

Apache 1.1b4 gives interesting HTML output in the form of
a menu.  The vette.map file is a 3-line imagemap that contains the
following three lines:

default /~chris/imagemap/vdef.html
rect /~chris/imagemap/vsky.html 0,0 304,64
poly /~chris/imagemap/vcar.html 25,140 145,111 300,146 280,190 167,221 24,182

Viewing the browser's source I see:

<html>
<head><title>Menu for /~chris/imagemap/vette.map</title></head>

<body>
<h1>Menu for /~chris/imagemap/vette.map</h1>
<hr>

<pre>(Default) <a href="http://zing.ncsl.nist.gov/~chris/imagemap/vdef.html">/~chris/imagemap/vdef.html</a></pre>
<pre>          <a href="http://zing.ncsl.nist.gov/~chris/imagemap/vsky.html">/~chris/imagemap/vsky.html</a></pre>
<pre>          <a href="http://zing.ncsl.nist.gov/~chris/imagemap/vcar.html">/~chris/imagemap/vcar.html</a></pre>


</body>
</html>

So, how do I get what I want?  :-)

--

Backtrace:
--

--


Mime
View raw message