httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Skolnick <>
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
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
Subject: WWW Form Bug Report: "Including a text file doesn't work as expected" on Solaris

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:

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 )

1.03 and 1.05 give errors on the html code:

<!--#include file="imagemap/" -->
<!--#include virtual="imagemap/" -->

Such as:

[Thu Jun 27 10:59:08 1996] unable to include imagemap/ 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
file into the HTML source (which is surrounded with <PRE>).
The file really is in /home/chris/html/imagemap/
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 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:

<head><title>Menu for /~chris/imagemap/</title></head>

<h1>Menu for /~chris/imagemap/</h1>

<pre>(Default) <a href="">/~chris/imagemap/vdef.html</a></pre>
<pre>          <a href="">/~chris/imagemap/vsky.html</a></pre>
<pre>          <a href="">/~chris/imagemap/vcar.html</a></pre>


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




View raw message