You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Peter Burden <jp...@scitsc.wlv.ac.uk> on 1997/07/03 14:40:01 UTC

general/823: Files with ".map." in the file name are interpreted as maps

>Number:         823
>Category:       general
>Synopsis:       Files with ".map." in the file name are interpreted as maps
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jul  3 05:40:00 1997
>Originator:     jphb@scitsc.wlv.ac.uk
>Organization:
apache
>Release:        1.2.0
>Environment:
SunOS scitsc 5.5.1 Generic_103640-06 sun4m sparc SUNW,SPARCstation-10


Complier is GNU gcc 2.7.2
>Description:
If a file has a name such as uk.map.html, Apache seems to interpret this
as a "map" file (AddHandler imap-file .map is enabled). This problem can be
overcome by putting

      AddHandler imap-file .map$

in the srm.conf file (an inspired guess !!), however this doesn't help when the
associated image is called uk.map.gif
>How-To-Repeat:
>From our server you can access http://www.scit.wlv.ac.uk/ukinfo/uk.map.html
and save this (and the associated image) locally and then attempt access
using Apache server - you may need to hack out the absolute URL for the image
in the html file.
>Fix:
Without having ploughed through the code, no
>Audit-Trail:
>Unformatted: