httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@organic.com>
Subject Re: WWW Form Bug Report: "Usr of ".map." in file name causes problems" on HPUX (fwd)
Date Fri, 28 Jun 1996 17:50:41 GMT
On Thu, 27 Jun 1996, Rob Hartill wrote:

> If you have a file referenced in a <code>
> <a href=" "> </a> </code>  then Apache tries
> to give you a menu, even if the .map isn't at
> the end of the file.

That's correct. This is a feature of Apache 1.1. The "map" (assuming that
it is so configured - see srm.conf) tells Apache to treat the file as an
imagemap rule file. After that, the "html" simply tells Apache to display
the results as HTML by default (unless something else overrides it).

If you are not using imagemaps, you could take the appropriate line out of
your configuration files. Otherwise, you will have to rename your file to
"blah-map.html" or something else.

> <code>
> <img ismap src="blah.map.gif">
> </code>
> 
> Causes a Segemetation Violation, and the that
> daemon core dumps.  Unfortunately I can't 
> find the core file.

This is no doubt due to the fact that you, again, are having the file
parsed by the imagemap handler, and it is not expecting a GIF, but a text
file with imagemap rules.

Thanks for using Apache!

-- Alexei Kosut <akosut@organic.com>            The Apache HTTP Server 
   http://www.nueva.pvt.k12.ca.us/~akosut/      http://www.apache.org/


Mime
View raw message